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

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:05:36 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/c3370493163934aa7feff65e5fd470087d1baaa5

Thanks.

Kevin

---
>From c3370493163934aa7feff65e5fd470087d1baaa5 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/intel/ice/ice_dcf.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/intel/ice/ice_dcf.c b/drivers/net/intel/ice/ice_dcf.c
index 9c88f94232..13d341dbed 100644
--- a/drivers/net/intel/ice/ice_dcf.c
+++ b/drivers/net/intel/ice/ice_dcf.c
@@ -887,9 +887,9 @@ ice_dcf_uninit_hw(struct rte_eth_dev *eth_dev, struct ice_dcf_hw *hw)
 	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);
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:50.780483642 +0000
+++ 0410-net-ice-fix-DCF-TM-config-leak-on-close.patch	2026-12-03 12:52:39.311036352 +0000
@@ -1 +1 @@
-From a0dfff111610c70775426af3676c8d133cb9bcd0 Mon Sep 17 00:00:00 2001
+From c3370493163934aa7feff65e5fd470087d1baaa5 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit a0dfff111610c70775426af3676c8d133cb9bcd0 ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org
@@ -24 +25 @@
-index 4bc3c07d81..ad5f9ef78e 100644
+index 9c88f94232..13d341dbed 100644



More information about the stable mailing list