patch 'app/testpmd: mask VLAN inner type 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:43 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/bffb8594f761350650be9568cb22cdc1719f0e06

Thanks.

Luca Boccassi

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

[ upstream commit de72ac890b6345e5dd3cb2563d3899ed7bccb0b7 ]

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

Fixes: e58638c32411 ("ethdev: fix TPID handling in flow API")

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

diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index bba9e3ef7f..2ab151ed8d 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/app/test-pmd/cmdline_flow.c
@@ -4605,8 +4605,8 @@ static const struct token token_list[] = {
 		.help = "inner EtherType",
 		.next = NEXT(item_vlan, NEXT_ENTRY(COMMON_UNSIGNED),
 			     item_param),
-		.args = ARGS(ARGS_ENTRY_HTON(struct rte_flow_item_vlan,
-					     hdr.eth_proto)),
+		.args = ARGS(ARGS_ENTRY_MASK_HTON(struct rte_flow_item_vlan,
+						  hdr.eth_proto, "\xff\xff")),
 	},
 	[ITEM_VLAN_HAS_MORE_VLAN] = {
 		.name = "has_more_vlan",
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-07-03 12:55:48.612550253 +0100
+++ 0051-app-testpmd-mask-VLAN-inner-type-in-flow-rule.patch	2026-07-03 12:55:46.694574611 +0100
@@ -1 +1 @@
-From de72ac890b6345e5dd3cb2563d3899ed7bccb0b7 Mon Sep 17 00:00:00 2001
+From bffb8594f761350650be9568cb22cdc1719f0e06 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit de72ac890b6345e5dd3cb2563d3899ed7bccb0b7 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index 0b7d268535..e41ab0ef9b 100644
+index bba9e3ef7f..2ab151ed8d 100644
@@ -22 +23 @@
-@@ -4642,8 +4642,8 @@ static const struct token token_list[] = {
+@@ -4605,8 +4605,8 @@ static const struct token token_list[] = {


More information about the stable mailing list