patch 'net/ice: fix disabling outer VLAN insertion' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 14:01:53 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.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 12/08/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/4bf07872ce4aa4a7c4bc9314bba686f5abf447b7
Thanks.
Kevin
---
>From 4bf07872ce4aa4a7c4bc9314bba686f5abf447b7 Mon Sep 17 00:00:00 2001
From: Anurag Mandal <anurag.mandal at intel.com>
Date: Wed, 30 Sep 2026 02:48:39 +0000
Subject: [PATCH] net/ice: fix disabling outer VLAN insertion
[ upstream commit 72db2a2236f15636622b10f2ef4710ba6500df3b ]
ice_vsi_dis_outer_insertion() treats a 0 return from ice_update_vsi() as
a failure, but a return value 0 means success, so the error and success
paths are swapped. Removing a port VLAN in double VLAN mode logs an
incorrect error, returns invalid argument, and leaves a stale
ICE_AQ_VSI_OUTER_VLAN_PORT_BASED_INSERT bit in the cached VSI context
that later VSI updates replay into hardware.
Invert the check to avoid this bug.
Fixes: de5da9d16430 ("net/ice: support double VLAN")
Signed-off-by: Anurag Mandal <anurag.mandal at intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
---
drivers/net/intel/ice/ice_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/intel/ice/ice_ethdev.c b/drivers/net/intel/ice/ice_ethdev.c
index eaeccaf04c..a4bfd6f273 100644
--- a/drivers/net/intel/ice/ice_ethdev.c
+++ b/drivers/net/intel/ice/ice_ethdev.c
@@ -6091,5 +6091,5 @@ static int ice_vsi_dis_outer_insertion(struct ice_vsi *vsi, struct ice_vsi_vlan_
status = ice_update_vsi(hw, vsi->idx, &ctxt, NULL);
- if (!status) {
+ if (status != ICE_SUCCESS) {
PMD_DRV_LOG(ERR,
"update VSI for disabling outer VLAN insertion failed, err %d",
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:44.571773883 +0000
+++ 0187-net-ice-fix-disabling-outer-VLAN-insertion.patch 2026-12-03 12:52:39.163136368 +0000
@@ -1 +1 @@
-From 72db2a2236f15636622b10f2ef4710ba6500df3b Mon Sep 17 00:00:00 2001
+From 4bf07872ce4aa4a7c4bc9314bba686f5abf447b7 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 72db2a2236f15636622b10f2ef4710ba6500df3b ]
+
@@ -16 +17,0 @@
-Cc: stable at dpdk.org
@@ -25 +26 @@
-index 5f252a2ce0..9bfa585c06 100644
+index eaeccaf04c..a4bfd6f273 100644
@@ -28 +29 @@
-@@ -6448,5 +6448,5 @@ static int ice_vsi_dis_outer_insertion(struct ice_vsi *vsi, struct ice_vsi_vlan_
+@@ -6091,5 +6091,5 @@ static int ice_vsi_dis_outer_insertion(struct ice_vsi *vsi, struct ice_vsi_vlan_
More information about the stable
mailing list