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

luca.boccassi at gmail.com luca.boccassi at gmail.com
Fri Mar 7 13:24:03 CET 2025


Hi,

FYI, your patch has been queued to stable release 22.11.8

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/09/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://github.com/bluca/dpdk-stable

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

Thanks.

Luca Boccassi

---
>From 6ce1d999be2fb14f834d33a758b116b485b8be24 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

[ 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 189bf68223..7c58fed413 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -6527,8 +6527,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.47.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-03-07 12:23:38.182131061 +0000
+++ 0004-app-testpmd-show-all-DCB-priority-TC-map.patch	2025-03-07 12:23:37.982837591 +0000
@@ -1 +1 @@
-From 164d7ac277bba10b27dd96821536e6b4a71cfebf Mon Sep 17 00:00:00 2001
+From 6ce1d999be2fb14f834d33a758b116b485b8be24 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 164d7ac277bba10b27dd96821536e6b4a71cfebf ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index 08a8ab02ea..e89af21cec 100644
+index 189bf68223..7c58fed413 100644
@@ -22 +23 @@
-@@ -7273,8 +7273,8 @@ port_dcb_info_display(portid_t port_id)
+@@ -6527,8 +6527,8 @@ port_dcb_info_display(portid_t port_id)


More information about the stable mailing list