patch 'app/testpmd: show all DCB priority TC map' has been queued to stable release 23.11.4

Xueming Li xuemingl at nvidia.com
Tue Apr 8 09:44:30 CEST 2025


Hi,

FYI, your patch has been queued to stable release 23.11.4

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 04/10/25. 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://git.dpdk.org/dpdk-stable/log/?h=23.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=c3a4115601ddf63f693a90c16774910b8bdcce5c

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From c3a4115601ddf63f693a90c16774910b8bdcce5c Mon Sep 17 00:00:00 2001
From: Chengwen Feng <fengchengwen at huawei.com>
Date: Thu, 20 Feb 2025 15:06:50 +0800
Subject: [PATCH] app/testpmd: show all DCB priority TC map
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit 164d7ac277bba10b27dd96821536e6b4a71cfebf ]

Currently, the "show port dcb_tc" command displays only the mapping
in the number of TCs. This patch fixes it by show all priority's TC
mapping.

Fixes: cd80f411a7e7 ("app/testpmd: add command to display DCB info")

Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
---
 app/test-pmd/config.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 9c3d668e56..a70086c85a 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -6909,8 +6909,8 @@ port_dcb_info_display(portid_t port_id)
 	printf("\n  TC :        ");
 	for (i = 0; i < dcb_info.nb_tcs; i++)
 		printf("\t%4d", i);
-	printf("\n  Priority :  ");
-	for (i = 0; i < dcb_info.nb_tcs; i++)
+	printf("\n  Prio2TC :  ");
+	for (i = 0; i < RTE_ETH_DCB_NUM_USER_PRIORITIES; i++)
 		printf("\t%4d", dcb_info.prio_tc[i]);
 	printf("\n  BW percent :");
 	for (i = 0; i < dcb_info.nb_tcs; i++)
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-04-08 15:39:06.203058792 +0800
+++ 0005-app-testpmd-show-all-DCB-priority-TC-map.patch	2025-04-08 15:39:05.856436604 +0800
@@ -1 +1 @@
-From 164d7ac277bba10b27dd96821536e6b4a71cfebf Mon Sep 17 00:00:00 2001
+From c3a4115601ddf63f693a90c16774910b8bdcce5c Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 164d7ac277bba10b27dd96821536e6b4a71cfebf ]
@@ -11 +13,0 @@
-Cc: stable at dpdk.org
@@ -19 +21 @@
-index 08a8ab02ea..e89af21cec 100644
+index 9c3d668e56..a70086c85a 100644
@@ -22 +24 @@
-@@ -7273,8 +7273,8 @@ port_dcb_info_display(portid_t port_id)
+@@ -6909,8 +6909,8 @@ port_dcb_info_display(portid_t port_id)


More information about the stable mailing list