patch 'net/i40e: fix QinQ stripping' has been queued to stable release 25.11.1

Kevin Traynor ktraynor at redhat.com
Thu Feb 26 14:09:04 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/02/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/4f3b81a6fb9fe31aaa3e09d124877ddee5884077

Thanks.

Kevin

---
>From 4f3b81a6fb9fe31aaa3e09d124877ddee5884077 Mon Sep 17 00:00:00 2001
From: Anurag Mandal <anurag.mandal at intel.com>
Date: Sat, 6 Dec 2025 18:43:11 +0000
Subject: [PATCH] net/i40e: fix QinQ stripping

[ upstream commit 5b00b18884e825215c506407d906a13e796d9adc ]

Outer VLAN strip gets disabled when inner VLAN stripping is
enabled/disabled after enabling outer VLAN stripping.  This happens
because the respective register is overridden by the vsi params update
of inner VLAN stripping.

This patch fixes the issue by re-enabling outer VLAN stripping after
modification of inner VLAN stripping.

Fixes: c52ff36686a4 ("net/i40e: enable QinQ stripping")

Signed-off-by: Anurag Mandal <anurag.mandal at intel.com>
Tested-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
 drivers/net/intel/i40e/i40e_ethdev.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/net/intel/i40e/i40e_ethdev.c b/drivers/net/intel/i40e/i40e_ethdev.c
index b8ce79061b..c8153f3351 100644
--- a/drivers/net/intel/i40e/i40e_ethdev.c
+++ b/drivers/net/intel/i40e/i40e_ethdev.c
@@ -4151,4 +4151,14 @@ i40e_vlan_offload_set(struct rte_eth_dev *dev, int mask)
 		else
 			i40e_vsi_config_vlan_stripping(vsi, FALSE);
+
+		/* When VLAN strip is enabled/disabled
+		 * after enabling outer VLAN stripping,
+		 * outer VLAN stripping gets disabled
+		 * as the register gets overridden by
+		 * VLAN's strip vsi param update.
+		 * Hence, re-enable outer VLAN stripping.
+		 */
+		if (rxmode->offloads & RTE_ETH_RX_OFFLOAD_QINQ_STRIP)
+			i40e_vsi_config_outer_vlan_stripping(vsi, TRUE);
 	}
 
-- 
2.53.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-02-26 10:16:49.555356677 +0000
+++ 0062-net-i40e-fix-QinQ-stripping.patch	2026-02-26 10:16:46.984459382 +0000
@@ -1 +1 @@
-From 5b00b18884e825215c506407d906a13e796d9adc Mon Sep 17 00:00:00 2001
+From 4f3b81a6fb9fe31aaa3e09d124877ddee5884077 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 5b00b18884e825215c506407d906a13e796d9adc ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list