patch 'app/testpmd: fix function names in logs' has been queued to stable release 24.11.5

luca.boccassi at gmail.com luca.boccassi at gmail.com
Fri Feb 20 15:55:30 CET 2026


Hi,

FYI, your patch has been queued to stable release 24.11.5

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/22/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/bluca/dpdk-stable

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

Thanks.

Luca Boccassi

---
>From 548758b4e097f26a7e59d3d40cd8b8fb18bcbe5d Mon Sep 17 00:00:00 2001
From: Anurag Mandal <anurag.mandal at intel.com>
Date: Mon, 1 Dec 2025 10:08:36 +0000
Subject: [PATCH] app/testpmd: fix function names in logs

[ upstream commit 9323e3b5d8ff7c0378676bdfb91af926fb0cec63 ]

VLAN extend and tpid setting functions have wrong function names
mentioned in the error logs causing confusion as functions are
not found in code using those names.

Replaced static names with dynamic "__func__" predefined identifier.

Fixes: 61a3b0e5e79f ("app/testpmd: send failure logs to stderr")

Signed-off-by: Anurag Mandal <anurag.mandal at intel.com>
---
 app/test-pmd/config.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 5c50301d84..2fa421245d 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -6379,8 +6379,8 @@ vlan_extend_set(portid_t port_id, int on)
 	diag = rte_eth_dev_set_vlan_offload(port_id, vlan_offload);
 	if (diag < 0) {
 		fprintf(stderr,
-			"rx_vlan_extend_set(port_pi=%d, on=%d) failed diag=%d\n",
-			port_id, on, diag);
+			"%s(port_pi=%d, on=%d) failed diag=%d\n",
+			__func__, port_id, on, diag);
 		return;
 	}
 	ports[port_id].dev_conf.rxmode.offloads = port_rx_offloads;
@@ -6534,8 +6534,8 @@ vlan_tpid_set(portid_t port_id, enum rte_vlan_type vlan_type, uint16_t tp_id)
 		return;
 
 	fprintf(stderr,
-		"tx_vlan_tpid_set(port_pi=%d, vlan_type=%d, tpid=%d) failed diag=%d\n",
-		port_id, vlan_type, tp_id, diag);
+		"%s(port_pi=%d, vlan_type=%d, tpid=%d) failed diag=%d\n",
+		__func__, port_id, vlan_type, tp_id, diag);
 }
 
 void
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-02-20 14:55:44.412489056 +0000
+++ 0028-app-testpmd-fix-function-names-in-logs.patch	2026-02-20 14:55:43.200191006 +0000
@@ -1 +1 @@
-From 9323e3b5d8ff7c0378676bdfb91af926fb0cec63 Mon Sep 17 00:00:00 2001
+From 548758b4e097f26a7e59d3d40cd8b8fb18bcbe5d Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 9323e3b5d8ff7c0378676bdfb91af926fb0cec63 ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
@@ -21 +22 @@
-index b6d194340b..8da2463560 100644
+index 5c50301d84..2fa421245d 100644
@@ -24 +25 @@
-@@ -6497,8 +6497,8 @@ vlan_extend_set(portid_t port_id, int on)
+@@ -6379,8 +6379,8 @@ vlan_extend_set(portid_t port_id, int on)
@@ -35 +36 @@
-@@ -6724,8 +6724,8 @@ vlan_tpid_set(portid_t port_id, enum rte_vlan_type vlan_type, uint16_t tp_id)
+@@ -6534,8 +6534,8 @@ vlan_tpid_set(portid_t port_id, enum rte_vlan_type vlan_type, uint16_t tp_id)


More information about the stable mailing list