[dpdk-stable] patch 'net/iavf: fix performance drop after port reset' has been queued to stable release 19.11.6

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue Nov 17 12:13:59 CET 2020


Hi,

FYI, your patch has been queued to stable release 19.11.6

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/19/20. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/ba72266c10ae7e8b9bf9ecbc9fc807b1ae7e861b

Thanks.

Luca Boccassi

---
>From ba72266c10ae7e8b9bf9ecbc9fc807b1ae7e861b Mon Sep 17 00:00:00 2001
From: Leyi Rong <leyi.rong at intel.com>
Date: Thu, 12 Nov 2020 13:51:54 +0800
Subject: [PATCH] net/iavf: fix performance drop after port reset

[ upstream commit 63b7be7870c1eef53808f796f815b9b34ba36325 ]

Needs to reset rxq->rxrearm_start to 0 when reset_rx_queue(),
otherwise, the random value of rxrearm_start will cause performance drop
due to L3 contested accesses.

Fixes: 69dd4c3d0898 ("net/avf: enable queue and device")

Signed-off-by: Leyi Rong <leyi.rong at intel.com>
Acked-by: Qi Zhang <qi.z.zhang at intel.com>
---
 drivers/net/iavf/iavf_rxtx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c
index 9672666567..ae43eb49a6 100644
--- a/drivers/net/iavf/iavf_rxtx.c
+++ b/drivers/net/iavf/iavf_rxtx.c
@@ -168,6 +168,7 @@ reset_rx_queue(struct iavf_rx_queue *rxq)
 	rxq->pkt_first_seg = NULL;
 	rxq->pkt_last_seg = NULL;
 	rxq->rxrearm_nb = 0;
+	rxq->rxrearm_start = 0;
 }
 
 static inline void
-- 
2.27.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-11-17 11:13:14.041004865 +0000
+++ 0025-net-iavf-fix-performance-drop-after-port-reset.patch	2020-11-17 11:13:12.921116609 +0000
@@ -1 +1 @@
-From 63b7be7870c1eef53808f796f815b9b34ba36325 Mon Sep 17 00:00:00 2001
+From ba72266c10ae7e8b9bf9ecbc9fc807b1ae7e861b Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 63b7be7870c1eef53808f796f815b9b34ba36325 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index 8f43208c80..21d508b3f4 100644
+index 9672666567..ae43eb49a6 100644
@@ -23 +24 @@
-@@ -195,6 +195,7 @@ reset_rx_queue(struct iavf_rx_queue *rxq)
+@@ -168,6 +168,7 @@ reset_rx_queue(struct iavf_rx_queue *rxq)


More information about the stable mailing list