patch 'app/testpmd: check start for DCB forwarding TC commands' has been queued to stable release 25.11.1

Kevin Traynor ktraynor at redhat.com
Thu Mar 19 11:02:41 CET 2026


Hi,

FYI, your patch has been queued to stable release 25.11.1

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/23/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/789c2f8c10e36d03291e53aaedce98d84e38f8a4

Thanks.

Kevin

---
>From 789c2f8c10e36d03291e53aaedce98d84e38f8a4 Mon Sep 17 00:00:00 2001
From: Chengwen Feng <fengchengwen at huawei.com>
Date: Tue, 24 Feb 2026 15:26:46 +0800
Subject: [PATCH] app/testpmd: check start for DCB forwarding TC commands

[ upstream commit 2d09d6a598112ca65fa1b297d39893e0c33e04e2 ]

The 'set dcb fwd_tc xxx' and 'set dcb fwd_tc_cores xxx' commands should
check whether started forwarding, this patch add it.

Fixes: c58bdc7a589c ("app/testpmd: set DCB forwarding TCs")
Fixes: 945e9be0a803 ("app/testpmd: support multi-cores process one TC")

Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
Acked-by: Xingui Yang <yangxingui at huawei.com>
---
 app/test-pmd/cmdline.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index c33c66f327..012a3ad32f 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -6242,4 +6242,8 @@ static void cmd_set_dcb_fwd_tc_parsed(void *parsed_result,
 	struct cmd_set_dcb_fwd_tc_result *res = parsed_result;
 	int i;
+	if (test_done == 0) {
+		fprintf(stderr, "Please stop forwarding first\n");
+		return;
+	}
 	if (res->tc_mask == 0) {
 		fprintf(stderr, "TC mask should not be zero!\n");
@@ -6294,4 +6298,8 @@ static void cmd_set_dcb_fwd_tc_cores_parsed(void *parsed_result,
 {
 	struct cmd_set_dcb_fwd_tc_cores_result *res = parsed_result;
+	if (test_done == 0) {
+		fprintf(stderr, "Please stop forwarding first\n");
+		return;
+	}
 	if (res->tc_cores == 0) {
 		fprintf(stderr, "Cores per-TC should not be zero!\n");
-- 
2.53.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-03-19 10:01:08.385871489 +0000
+++ 0043-app-testpmd-check-start-for-DCB-forwarding-TC-comman.patch	2026-03-19 10:01:07.111331261 +0000
@@ -1 +1 @@
-From 2d09d6a598112ca65fa1b297d39893e0c33e04e2 Mon Sep 17 00:00:00 2001
+From 789c2f8c10e36d03291e53aaedce98d84e38f8a4 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 2d09d6a598112ca65fa1b297d39893e0c33e04e2 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list