patch 'app/testpmd: mask VLAN TCI in flow rule' has been queued to stable release 25.11.3

Kevin Traynor ktraynor at redhat.com
Tue Jul 28 17:56:57 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 08/01/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/a7ce99c5db7ae7e1edeae74626a5018aef111023

Thanks.

Kevin

---
>From a7ce99c5db7ae7e1edeae74626a5018aef111023 Mon Sep 17 00:00:00 2001
From: Anatoly Burakov <anatoly.burakov at intel.com>
Date: Tue, 16 Jun 2026 11:27:38 +0100
Subject: [PATCH] app/testpmd: mask VLAN TCI in flow rule

[ upstream commit 282ae2c02d18babca398e897b9136d795dad13c3 ]

Currently, when testpmd command `...vlan tci is 0x1234`, the VLAN TCI
field is being specified in spec, but is not masked in mask.
Add full mask to VLAN TCI when specified.

Fixes: 6df81b325fa4 ("app/testpmd: add items eth/vlan to flow command")

Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
---
 app/test-pmd/cmdline_flow.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index ebc036b14b..72a15741a2 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/app/test-pmd/cmdline_flow.c
@@ -4587,5 +4587,6 @@ static const struct token token_list[] = {
 		.next = NEXT(item_vlan, NEXT_ENTRY(COMMON_UNSIGNED),
 			     item_param),
-		.args = ARGS(ARGS_ENTRY_HTON(struct rte_flow_item_vlan, hdr.vlan_tci)),
+		.args = ARGS(ARGS_ENTRY_MASK_HTON(struct rte_flow_item_vlan,
+					  hdr.vlan_tci, "\xff\xff")),
 	},
 	[ITEM_VLAN_PCP] = {
-- 
2.55.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-07-28 16:54:53.328011712 +0100
+++ 0087-app-testpmd-mask-VLAN-TCI-in-flow-rule.patch	2026-07-28 16:54:50.843729099 +0100
@@ -1 +1 @@
-From 282ae2c02d18babca398e897b9136d795dad13c3 Mon Sep 17 00:00:00 2001
+From a7ce99c5db7ae7e1edeae74626a5018aef111023 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 282ae2c02d18babca398e897b9136d795dad13c3 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index 67f200f2e3..0b7d268535 100644
+index ebc036b14b..72a15741a2 100644
@@ -22 +23 @@
-@@ -4611,5 +4611,6 @@ static const struct token token_list[] = {
+@@ -4587,5 +4587,6 @@ static const struct token token_list[] = {



More information about the stable mailing list