[dpdk-stable] patch 'examples/l3fwd: remove limitation on Tx queue count' has been queued to stable release 19.11.7

Christian Ehrhardt christian.ehrhardt at canonical.com
Thu Feb 4 12:28:24 CET 2021


Hi,

FYI, your patch has been queued to stable release 19.11.7

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/06/21. 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/cpaelzer/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/cpaelzer/dpdk-stable-queue/commit/ccb444331b75fa32df6e4720f178c4c2241539f7

Thanks.

Christian Ehrhardt <christian.ehrhardt at canonical.com>

---
>From ccb444331b75fa32df6e4720f178c4c2241539f7 Mon Sep 17 00:00:00 2001
From: Harman Kalra <hkalra at marvell.com>
Date: Tue, 12 Jan 2021 23:54:46 +0530
Subject: [PATCH] examples/l3fwd: remove limitation on Tx queue count

[ upstream commit 88256ed85338c572d73006e4c4530a52d3b477ff ]

In l3fwd no of transmit queues is calculated based on no of
lcores with which it is launched. Hence maximum no of tx
queues possible per port should depend on RTE_MAX_LCORE value.

Fixes: af75078fece3 ("first public release")

Signed-off-by: Harman Kalra <hkalra at marvell.com>
Reviewed-by: David Marchand <david.marchand at redhat.com>
---
 examples/l3fwd/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c
index 3a8ec5a7f2..b98040df45 100644
--- a/examples/l3fwd/main.c
+++ b/examples/l3fwd/main.c
@@ -53,7 +53,7 @@
 #define RTE_TEST_RX_DESC_DEFAULT 1024
 #define RTE_TEST_TX_DESC_DEFAULT 1024
 
-#define MAX_TX_QUEUE_PER_PORT RTE_MAX_ETHPORTS
+#define MAX_TX_QUEUE_PER_PORT RTE_MAX_LCORE
 #define MAX_RX_QUEUE_PER_PORT 128
 
 #define MAX_LCORE_PARAMS 1024
-- 
2.30.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-02-04 12:04:30.124102119 +0100
+++ 0049-examples-l3fwd-remove-limitation-on-Tx-queue-count.patch	2021-02-04 12:04:27.962789662 +0100
@@ -1 +1 @@
-From 88256ed85338c572d73006e4c4530a52d3b477ff Mon Sep 17 00:00:00 2001
+From ccb444331b75fa32df6e4720f178c4c2241539f7 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 88256ed85338c572d73006e4c4530a52d3b477ff ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index d62dec434c..bb49e5faff 100644
+index 3a8ec5a7f2..b98040df45 100644
@@ -23,3 +24,3 @@
-@@ -48,7 +48,7 @@
- #include "l3fwd.h"
- #include "l3fwd_event.h"
+@@ -53,7 +53,7 @@
+ #define RTE_TEST_RX_DESC_DEFAULT 1024
+ #define RTE_TEST_TX_DESC_DEFAULT 1024


More information about the stable mailing list