patch 'net/ice: fix DCF TM config leak on close' has been queued to stable release 24.11.9

luca.boccassi at gmail.com luca.boccassi at gmail.com
Mon Nov 16 23:51:59 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/18/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/ae56a7581b0d54f59ddeb926c547adc46a1692be

Thanks.

Luca Boccassi

---
>From ae56a7581b0d54f59ddeb926c547adc46a1692be Mon Sep 17 00:00:00 2001
From: Anurag Mandal <anurag.mandal at intel.com>
Date: Sat, 7 Nov 2026 23:52:16 +0000
Subject: [PATCH] net/ice: fix DCF TM config leak on close

[ upstream commit a0dfff111610c70775426af3676c8d133cb9bcd0 ]

ice_dcf_uninit_hw() releases the TM nodes and shaper profiles only when
the hierarchy gets committed.  If the application adds nodes or profiles
but never commits them, or the commit fails without clearing them, they
leak on close and reset.

Only clearing the bandwidth needs a committed hierarchy, so releasing
the TM config whenever QoS is supported.

Fixes: 775a25a372f5 ("net/ice: clear QoS bandwidth on DCF close")

Signed-off-by: Anurag Mandal <anurag.mandal at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
 drivers/net/ice/ice_dcf.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/ice/ice_dcf.c b/drivers/net/ice/ice_dcf.c
index e394db268d..1f228d17c5 100644
--- a/drivers/net/ice/ice_dcf.c
+++ b/drivers/net/ice/ice_dcf.c
@@ -886,11 +886,11 @@ ice_dcf_uninit_hw(struct rte_eth_dev *eth_dev, struct ice_dcf_hw *hw)
 	struct rte_intr_handle *intr_handle = pci_dev->intr_handle;
 	uint16_t i;
 
-	if (hw->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_QOS)
-		if (hw->tm_conf.committed) {
+	if (hw->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_QOS) {
+		if (hw->tm_conf.committed)
 			ice_dcf_clear_bw(hw);
-			ice_dcf_tm_conf_uninit(eth_dev);
-		}
+		ice_dcf_tm_conf_uninit(eth_dev);
+	}
 
 	ice_dcf_disable_irq0(hw);
 	rte_intr_disable(intr_handle);
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-11-16 22:52:18.283260278 +0000
+++ 0045-net-ice-fix-DCF-TM-config-leak-on-close.patch	2026-11-16 22:52:16.480233272 +0000
@@ -1 +1 @@
-From a0dfff111610c70775426af3676c8d133cb9bcd0 Mon Sep 17 00:00:00 2001
+From ae56a7581b0d54f59ddeb926c547adc46a1692be Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit a0dfff111610c70775426af3676c8d133cb9bcd0 ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
- drivers/net/intel/ice/ice_dcf.c | 8 ++++----
+ drivers/net/ice/ice_dcf.c | 8 ++++----
@@ -23,4 +24,4 @@
-diff --git a/drivers/net/intel/ice/ice_dcf.c b/drivers/net/intel/ice/ice_dcf.c
-index 4bc3c07d81..ad5f9ef78e 100644
---- a/drivers/net/intel/ice/ice_dcf.c
-+++ b/drivers/net/intel/ice/ice_dcf.c
+diff --git a/drivers/net/ice/ice_dcf.c b/drivers/net/ice/ice_dcf.c
+index e394db268d..1f228d17c5 100644
+--- a/drivers/net/ice/ice_dcf.c
++++ b/drivers/net/ice/ice_dcf.c


More information about the stable mailing list