patch 'net/ice: remove unreachable DCF scheduler branch' has been queued to stable release 24.11.9

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue Oct 27 12:50:43 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/f1efdba56bae103790fdabd51820f7a7c01b5ec0

Thanks.

Luca Boccassi

---
>From f1efdba56bae103790fdabd51820f7a7c01b5ec0 Mon Sep 17 00:00:00 2001
From: Artem Novikov <naa at amicon.ru>
Date: Mon, 14 Sep 2026 13:03:50 +0300
Subject: [PATCH] net/ice: remove unreachable DCF scheduler branch

[ upstream commit 9702cc903562e981a639d08ceaa8addd2f96e965 ]

Non-leaf node validation rejects any non-NULL WFQ weight mode before
checking the SP priority count. Therefore the later else-if branch
cannot be reached, because wfq_weight_mode is guaranteed to be NULL at
that point.

Remove the dead branch to avoid keeping an impossible validation path in
the DCF scheduler parameter checks.

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>
---
 .mailmap                        | 1 +
 drivers/net/ice/ice_dcf_sched.c | 6 ------
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/.mailmap b/.mailmap
index e1ef93b1788..cca24f913cb 100644
--- a/.mailmap
+++ b/.mailmap
@@ -153,6 +153,7 @@ Arkadiusz Kusztal <arkadiuszx.kusztal at intel.com>
 Arnaud Fiorini <arnaud.fiorini at polymtl.ca>
 Arnon Warshavsky <arnon at qwilt.com>
 Arshdeep Kaur <arshdeep.kaur at intel.com>
+Artem Novikov <naa at amicon.ru>
 Artemii Morozov <artemii.morozov at arknetworks.am>
 Artemy Kovalyov <artemyko at nvidia.com>
 Artem V. Andreev <artem.andreev at oktetlabs.ru>
diff --git a/drivers/net/ice/ice_dcf_sched.c b/drivers/net/ice/ice_dcf_sched.c
index 49c9959ac5d..fdd09794b2a 100644
--- a/drivers/net/ice/ice_dcf_sched.c
+++ b/drivers/net/ice/ice_dcf_sched.c
@@ -188,12 +188,6 @@ ice_dcf_node_param_check(struct ice_dcf_hw *hw, uint32_t node_id,
 				RTE_TM_ERROR_TYPE_NODE_PARAMS_N_SP_PRIORITIES;
 			error->message = "SP priority not supported";
 			return -EINVAL;
-		} else if (params->nonleaf.wfq_weight_mode &&
-			   !(*params->nonleaf.wfq_weight_mode)) {
-			error->type =
-				RTE_TM_ERROR_TYPE_NODE_PARAMS_WFQ_WEIGHT_MODE;
-			error->message = "WFP should be byte mode";
-			return -EINVAL;
 		}
 
 		return 0;
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-10-27 11:43:59.432981530 +0000
+++ 0149-net-ice-remove-unreachable-DCF-scheduler-branch.patch	2026-10-27 11:43:53.686064773 +0000
@@ -1 +1 @@
-From 9702cc903562e981a639d08ceaa8addd2f96e965 Mon Sep 17 00:00:00 2001
+From f1efdba56bae103790fdabd51820f7a7c01b5ec0 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 9702cc903562e981a639d08ceaa8addd2f96e965 ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org
@@ -20,2 +21,2 @@
- .mailmap                              | 1 +
- drivers/net/intel/ice/ice_dcf_sched.c | 6 ------
+ .mailmap                        | 1 +
+ drivers/net/ice/ice_dcf_sched.c | 6 ------
@@ -25 +26 @@
-index 6fd5b6f716..ad5fa21fd7 100644
+index e1ef93b1788..cca24f913cb 100644
@@ -28 +29 @@
-@@ -158,6 +158,7 @@ Arkadiusz Kusztal <arkadiuszx.kusztal at intel.com>
+@@ -153,6 +153,7 @@ Arkadiusz Kusztal <arkadiuszx.kusztal at intel.com>
@@ -33 +33,0 @@
- Artem V. Andreev <artem.andreev at oktetlabs.ru>
@@ -36,4 +36,5 @@
-diff --git a/drivers/net/intel/ice/ice_dcf_sched.c b/drivers/net/intel/ice/ice_dcf_sched.c
-index 795b6e683d..5895407331 100644
---- a/drivers/net/intel/ice/ice_dcf_sched.c
-+++ b/drivers/net/intel/ice/ice_dcf_sched.c
+ Artem V. Andreev <artem.andreev at oktetlabs.ru>
+diff --git a/drivers/net/ice/ice_dcf_sched.c b/drivers/net/ice/ice_dcf_sched.c
+index 49c9959ac5d..fdd09794b2a 100644
+--- a/drivers/net/ice/ice_dcf_sched.c
++++ b/drivers/net/ice/ice_dcf_sched.c


More information about the stable mailing list