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

luca.boccassi at gmail.com luca.boccassi at gmail.com
Mon Jul 6 12:20:42 CEST 2026


Hi,

FYI, your patch has been queued to stable release 24.11.7

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

Thanks.

Luca Boccassi

---
>From e4fd215fd3c54c4a1511d68651a79f0ef7104409 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 b7f137ae32..bba9e3ef7f 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/app/test-pmd/cmdline_flow.c
@@ -4573,7 +4573,8 @@ static const struct token token_list[] = {
 		.help = "tag control information",
 		.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] = {
 		.name = "pcp",
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-07-03 12:55:48.572339130 +0100
+++ 0050-app-testpmd-mask-VLAN-TCI-in-flow-rule.patch	2026-07-03 12:55:46.686574401 +0100
@@ -1 +1 @@
-From 282ae2c02d18babca398e897b9136d795dad13c3 Mon Sep 17 00:00:00 2001
+From e4fd215fd3c54c4a1511d68651a79f0ef7104409 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 b7f137ae32..bba9e3ef7f 100644
@@ -22 +23 @@
-@@ -4610,7 +4610,8 @@ static const struct token token_list[] = {
+@@ -4573,7 +4573,8 @@ static const struct token token_list[] = {


More information about the stable mailing list