patch 'net/iavf: fix disabling of promiscuous modes on close' has been queued to stable release 25.11.3

Kevin Traynor ktraynor at redhat.com
Thu Jul 23 19:15:00 CEST 2026


Hi,

FYI, your patch has been queued to stable release 25.11.3

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/27/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/43a5c448c341464c13308b981a107f72b6b11bd8

Thanks.

Kevin

---
>From 43a5c448c341464c13308b981a107f72b6b11bd8 Mon Sep 17 00:00:00 2001
From: Ciara Loftus <ciara.loftus at intel.com>
Date: Tue, 31 Mar 2026 13:01:17 +0000
Subject: [PATCH] net/iavf: fix disabling of promiscuous modes on close

[ upstream commit 1428895ad4174678480bdaec1f96d055e9d78fe2 ]

Commit 41515403f184 ("net/iavf: disable promiscuous mode on close")
introduced logic that disabled promiscuous mode when closing the device.
However this logic was effectively disabled by commit 676d986b4b86
("net/iavf: fix crash after VF reset failure") which prevented the
configuration of promiscuous mode when the adapter was marked as
"closed". Re-enable the disabling logic by moving it to earlier in the
device close function, before the adapter is marked as "closed".

Fixes: 676d986b4b86 ("net/iavf: fix crash after VF reset failure")

Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
 drivers/net/intel/iavf/iavf_ethdev.c | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/drivers/net/intel/iavf/iavf_ethdev.c b/drivers/net/intel/iavf/iavf_ethdev.c
index e387fae73b..205a8b83e6 100644
--- a/drivers/net/intel/iavf/iavf_ethdev.c
+++ b/drivers/net/intel/iavf/iavf_ethdev.c
@@ -2980,4 +2980,10 @@ iavf_dev_close(struct rte_eth_dev *dev)
 	}
 
+	/* Disable promiscuous mode before resetting the VF. This is to avoid
+	 * potential issues when the PF is bound to the kernel driver.
+	 */
+	if (vf->promisc_unicast_enabled || vf->promisc_multicast_enabled)
+		iavf_config_promisc(adapter, false, false);
+
 	adapter->closed = true;
 
@@ -2988,12 +2994,4 @@ iavf_dev_close(struct rte_eth_dev *dev)
 	iavf_flow_uninit(adapter);
 
-	/*
-	 * disable promiscuous mode before reset vf
-	 * it is a workaround solution when work with kernel driver
-	 * and it is not the normal way
-	 */
-	if (vf->promisc_unicast_enabled || vf->promisc_multicast_enabled)
-		iavf_config_promisc(adapter, false, false);
-
 	iavf_vf_reset(hw);
 	iavf_shutdown_adminq(hw);
-- 
2.55.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-07-23 17:57:59.731768001 +0100
+++ 0037-net-iavf-fix-disabling-of-promiscuous-modes-on-close.patch	2026-07-23 17:57:58.648036122 +0100
@@ -1 +1 @@
-From 1428895ad4174678480bdaec1f96d055e9d78fe2 Mon Sep 17 00:00:00 2001
+From 43a5c448c341464c13308b981a107f72b6b11bd8 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 1428895ad4174678480bdaec1f96d055e9d78fe2 ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org
@@ -24 +25 @@
-index 6d0306b3ac..8dae992239 100644
+index e387fae73b..205a8b83e6 100644
@@ -27 +28 @@
-@@ -2948,4 +2948,10 @@ iavf_dev_close(struct rte_eth_dev *dev)
+@@ -2980,4 +2980,10 @@ iavf_dev_close(struct rte_eth_dev *dev)
@@ -38 +39 @@
-@@ -2959,12 +2965,4 @@ iavf_dev_close(struct rte_eth_dev *dev)
+@@ -2988,12 +2994,4 @@ iavf_dev_close(struct rte_eth_dev *dev)
@@ -50 +51 @@
- 	vf->aq_intr_enabled = false;
+ 	iavf_shutdown_adminq(hw);



More information about the stable mailing list