patch 'app/testpmd: fix DCB queue allocation for VMDq devices' has been queued to stable release 25.11.3

Kevin Traynor ktraynor at redhat.com
Thu Jul 23 19:14:38 CEST 2026


Hi,

FYI, your patch has been queued to stable release 25.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 07/27/26. 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/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/38739039cae6409278854d7800e59c3425827d45

Thanks.

Kevin

---
>From 38739039cae6409278854d7800e59c3425827d45 Mon Sep 17 00:00:00 2001
From: Kavya AV <kavyax.a.v at intel.com>
Date: Thu, 9 Apr 2026 06:43:46 +0000
Subject: [PATCH] app/testpmd: fix DCB queue allocation for VMDq devices

[ upstream commit 8176fac19cf788dca32ab4980de092f3ccd5c9f4 ]

When using DCB mode with VT disabled and requesting more queues than
traffic classes (e.g., rxq=64 with 8 TCs), testpmd crashes with null
pointer errors because it artificially limits queue allocation to
num_tcs.

For VMDq devices, use actual VMDq queue layout (vmdq_queue_num) instead
of limiting to num_tcs. This allows VMDq devices to utilize their full
queue capacity while maintaining compatibility with non-VMDq devices.

Fixes: 2169699b15fc ("app/testpmd: add queue restriction in DCB command")

Signed-off-by: Kavya AV <kavyax.a.v at intel.com>
---
 .mailmap               | 1 +
 app/test-pmd/testpmd.c | 7 +++++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.mailmap b/.mailmap
index 15c0960245..9c34c1f326 100644
--- a/.mailmap
+++ b/.mailmap
@@ -839,4 +839,5 @@ Karol Kolacinski <karol.kolacinski at intel.com>
 Karra Satwik <kaara.satwik at chelsio.com>
 Kathleen Capella <kathleen.capella at arm.com>
+Kavya AV <kavyax.a.v at intel.com>
 Kazatsker Kirill <kirill.kazatsker at intel.com>
 Ke Xu <ke1.xu at intel.com>
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index 4591ad2337..35c9b3e163 100644
--- a/app/test-pmd/testpmd.c
+++ b/app/test-pmd/testpmd.c
@@ -4407,6 +4407,9 @@ init_port_dcb_config(portid_t pid,
 				nb_txq = rte_port->dev_info.max_tx_queues;
 			} else {
-				nb_rxq = (queueid_t)num_tcs;
-				nb_txq = (queueid_t)num_tcs;
+				/* Use PF queue count for DCB-only mode with VMDQ devices */
+				nb_rxq = rte_port->dev_info.max_rx_queues -
+					 rte_port->dev_info.vmdq_queue_num;
+				nb_txq = rte_port->dev_info.max_tx_queues -
+					 rte_port->dev_info.vmdq_queue_num;
 			}
 		}
-- 
2.55.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-07-23 17:57:59.139579505 +0100
+++ 0015-app-testpmd-fix-DCB-queue-allocation-for-VMDq-device.patch	2026-07-23 17:57:58.632918638 +0100
@@ -1 +1 @@
-From 8176fac19cf788dca32ab4980de092f3ccd5c9f4 Mon Sep 17 00:00:00 2001
+From 38739039cae6409278854d7800e59c3425827d45 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 8176fac19cf788dca32ab4980de092f3ccd5c9f4 ]
+
@@ -16 +17,0 @@
-Cc: stable at dpdk.org
@@ -25 +26 @@
-index 4d4b575597..f586cfcd77 100644
+index 15c0960245..9c34c1f326 100644
@@ -28 +29 @@
-@@ -842,4 +842,5 @@ Karol Kolacinski <karol.kolacinski at intel.com>
+@@ -839,4 +839,5 @@ Karol Kolacinski <karol.kolacinski at intel.com>
@@ -35 +36 @@
-index e2569d9e30..23a27322f8 100644
+index 4591ad2337..35c9b3e163 100644
@@ -38 +39 @@
-@@ -4482,6 +4482,9 @@ init_port_dcb_config(portid_t pid,
+@@ -4407,6 +4407,9 @@ init_port_dcb_config(portid_t pid,



More information about the stable mailing list