patch 'net/i40e: fix floating VEB leak' has been queued to stable release 24.11.9

luca.boccassi at gmail.com luca.boccassi at gmail.com
Thu Nov 5 17:42:25 CET 2026


Hi,

FYI, your patch has been queued to stable release 24.11.9

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

Thanks.

Luca Boccassi

---
>From 55ef324a9e4ad7b005ffa3c3bd672e1e4591b4c7 Mon Sep 17 00:00:00 2001
From: Anurag Mandal <anurag.mandal at intel.com>
Date: Fri, 23 Oct 2026 10:31:29 +0000
Subject: [PATCH] net/i40e: fix floating VEB leak

[ upstream commit b04b69e65378263eb123256738c34afdf1b35e60 ]

With floating VEB enabled, i40e_vsi_release() releases the VSIs
attached to the floating VEB of the main VSI but not the floating
VEB itself, leaking the VEB structure and its switch element.

Release it once its VSIs are gone, as is already done for the
regular VEB.

Fixes: 440499cf5376 ("net/i40e: support floating VEB")

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

diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index e2b43adc610..cf5f92b463e 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -5612,6 +5612,7 @@ i40e_vsi_release(struct i40e_vsi *vsi)
 			if (i40e_vsi_release(vsi_list->vsi) != I40E_SUCCESS)
 				return -1;
 		}
+		i40e_veb_release(vsi->floating_veb);
 	}
 
 	/* Remove all macvlan filters of the VSI */
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-11-05 16:42:47.206109776 +0000
+++ 0058-net-i40e-fix-floating-VEB-leak.patch	2026-11-05 16:42:44.985062699 +0000
@@ -1 +1 @@
-From b04b69e65378263eb123256738c34afdf1b35e60 Mon Sep 17 00:00:00 2001
+From 55ef324a9e4ad7b005ffa3c3bd672e1e4591b4c7 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit b04b69e65378263eb123256738c34afdf1b35e60 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
- drivers/net/intel/i40e/i40e_ethdev.c | 1 +
+ drivers/net/i40e/i40e_ethdev.c | 1 +
@@ -22,5 +23,5 @@
-diff --git a/drivers/net/intel/i40e/i40e_ethdev.c b/drivers/net/intel/i40e/i40e_ethdev.c
-index e26a849764..9ca01ecd34 100644
---- a/drivers/net/intel/i40e/i40e_ethdev.c
-+++ b/drivers/net/intel/i40e/i40e_ethdev.c
-@@ -5329,6 +5329,7 @@ i40e_vsi_release(struct i40e_vsi *vsi)
+diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
+index e2b43adc610..cf5f92b463e 100644
+--- a/drivers/net/i40e/i40e_ethdev.c
++++ b/drivers/net/i40e/i40e_ethdev.c
+@@ -5612,6 +5612,7 @@ i40e_vsi_release(struct i40e_vsi *vsi)


More information about the stable mailing list