[dpdk-stable] patch 'net/bnxt: increase size of Rx CQ' has been queued to stable release 19.11.6

luca.boccassi at gmail.com luca.boccassi at gmail.com
Mon Nov 9 19:40:46 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/11/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/d800f1ad66c56eea3cddc51e0a42d092315cf8ab

Thanks.

Luca Boccassi

---
>From d800f1ad66c56eea3cddc51e0a42d092315cf8ab Mon Sep 17 00:00:00 2001
From: Ajit Khaparde <ajit.khaparde at broadcom.com>
Date: Sun, 25 Oct 2020 20:56:13 -0700
Subject: [PATCH] net/bnxt: increase size of Rx CQ

[ upstream commit 45c6e1c66a4b5d7374e864502dc2fdb1ee71ceae ]

LRO aka TPA and jumbo frame support uses aggregation ring for placing
Rx buffers. These features can generate multiple Rx completions for a
single Rx packet. Increase size of Rx Completion Queue to handle TPA
and aggregation ring events.

Fixes: daef48efe5e5 ("net/bnxt: support set MTU")

Signed-off-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
Reviewed-by: Qingmin Liu <qingmin.liu at broadcom.com>
Reviewed-by: Randy Schacher <stuart.schacher at broadcom.com>
---
 drivers/net/bnxt/bnxt_ring.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/bnxt/bnxt_ring.h b/drivers/net/bnxt/bnxt_ring.h
index 9913aed05e..f8442edb66 100644
--- a/drivers/net/bnxt/bnxt_ring.h
+++ b/drivers/net/bnxt/bnxt_ring.h
@@ -27,7 +27,7 @@
 #define DEFAULT_RX_RING_SIZE	256
 #define DEFAULT_TX_RING_SIZE	256
 
-#define AGG_RING_SIZE_FACTOR	2
+#define AGG_RING_SIZE_FACTOR	4
 #define AGG_RING_MULTIPLIER	2
 
 /* These assume 4k pages */
-- 
2.27.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-11-09 18:40:13.414840521 +0000
+++ 0058-net-bnxt-increase-size-of-Rx-CQ.patch	2020-11-09 18:40:11.191312216 +0000
@@ -1 +1 @@
-From 45c6e1c66a4b5d7374e864502dc2fdb1ee71ceae Mon Sep 17 00:00:00 2001
+From d800f1ad66c56eea3cddc51e0a42d092315cf8ab Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 45c6e1c66a4b5d7374e864502dc2fdb1ee71ceae ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -22 +23 @@
-index daf9804956..3d81f610c1 100644
+index 9913aed05e..f8442edb66 100644


More information about the stable mailing list