patch 'net/ice: ignore WRED parameters for tail drop in DCF' has been queued to stable release 24.11.9

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue Oct 27 12:50:44 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 10/29/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/a59c9bb23b68acb2e0336a65656d70b30e9c219e

Thanks.

Luca Boccassi

---
>From a59c9bb23b68acb2e0336a65656d70b30e9c219e Mon Sep 17 00:00:00 2001
From: Artem Novikov <naa at amicon.ru>
Date: Mon, 14 Sep 2026 13:10:03 +0300
Subject: [PATCH] net/ice: ignore WRED parameters for tail drop in DCF

[ upstream commit c6f29fa4d2cde04a82d54ecd2a79cde9dda77801 ]

The traffic management API defines leaf WRED parameters as valid only
when the congestion management mode is WRED. DCF only accepts tail drop,
but still validates the WRED profile and shared contexts. A tail-drop
node with a zero-initialized, unused WRED profile is therefore rejected
unless the application supplies RTE_TM_WRED_PROFILE_ID_NONE.

Compare the mode explicitly against RTE_TM_CMAN_TAIL_DROP and reject
unsupported modes with a precise error message. Do not validate WRED
parameters for the supported tail-drop mode.

Fixes: 3a6bfc37eaf4 ("net/ice: support QoS config VF bandwidth in DCF")

Signed-off-by: Artem Novikov <naa at amicon.ru>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
 drivers/net/ice/ice_dcf_sched.c | 23 ++---------------------
 1 file changed, 2 insertions(+), 21 deletions(-)

diff --git a/drivers/net/ice/ice_dcf_sched.c b/drivers/net/ice/ice_dcf_sched.c
index fdd09794b2a..2e1bc62e023 100644
--- a/drivers/net/ice/ice_dcf_sched.c
+++ b/drivers/net/ice/ice_dcf_sched.c
@@ -194,28 +194,9 @@ ice_dcf_node_param_check(struct ice_dcf_hw *hw, uint32_t node_id,
 	}
 
 	/* for leaf node */
-	if (params->leaf.cman) {
+	if (params->leaf.cman != RTE_TM_CMAN_TAIL_DROP) {
 		error->type = RTE_TM_ERROR_TYPE_NODE_PARAMS_CMAN;
-		error->message = "Congestion management not supported";
-		return -EINVAL;
-	}
-	if (params->leaf.wred.wred_profile_id !=
-	    RTE_TM_WRED_PROFILE_ID_NONE) {
-		error->type =
-			RTE_TM_ERROR_TYPE_NODE_PARAMS_WRED_PROFILE_ID;
-		error->message = "WRED not supported";
-		return -EINVAL;
-	}
-	if (params->leaf.wred.shared_wred_context_id) {
-		error->type =
-			RTE_TM_ERROR_TYPE_NODE_PARAMS_SHARED_WRED_CONTEXT_ID;
-		error->message = "WRED not supported";
-		return -EINVAL;
-	}
-	if (params->leaf.wred.n_shared_wred_contexts) {
-		error->type =
-			RTE_TM_ERROR_TYPE_NODE_PARAMS_N_SHARED_WRED_CONTEXTS;
-		error->message = "WRED not supported";
+		error->message = "Only tail drop is supported";
 		return -EINVAL;
 	}
 
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-10-27 11:43:59.479487566 +0000
+++ 0150-net-ice-ignore-WRED-parameters-for-tail-drop-in-DCF.patch	2026-10-27 11:43:53.686064773 +0000
@@ -1 +1 @@
-From c6f29fa4d2cde04a82d54ecd2a79cde9dda77801 Mon Sep 17 00:00:00 2001
+From a59c9bb23b68acb2e0336a65656d70b30e9c219e Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit c6f29fa4d2cde04a82d54ecd2a79cde9dda77801 ]
+
@@ -17 +18,0 @@
-Cc: stable at dpdk.org
@@ -22 +23 @@
- drivers/net/intel/ice/ice_dcf_sched.c | 23 ++---------------------
+ drivers/net/ice/ice_dcf_sched.c | 23 ++---------------------
@@ -25,4 +26,4 @@
-diff --git a/drivers/net/intel/ice/ice_dcf_sched.c b/drivers/net/intel/ice/ice_dcf_sched.c
-index 5895407331..84342241aa 100644
---- a/drivers/net/intel/ice/ice_dcf_sched.c
-+++ b/drivers/net/intel/ice/ice_dcf_sched.c
+diff --git a/drivers/net/ice/ice_dcf_sched.c b/drivers/net/ice/ice_dcf_sched.c
+index fdd09794b2a..2e1bc62e023 100644
+--- a/drivers/net/ice/ice_dcf_sched.c
++++ b/drivers/net/ice/ice_dcf_sched.c


More information about the stable mailing list