patch 'net/ice: remove unreachable DCF scheduler branch' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 14:01:46 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/38d96d4aa7f5fb4d09ac8976cc7c591d42ae1c43
Thanks.
Kevin
---
>From 38d96d4aa7f5fb4d09ac8976cc7c591d42ae1c43 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/intel/ice/ice_dcf_sched.c | 6 ------
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/.mailmap b/.mailmap
index f0e533a172..8ae73b8f53 100644
--- a/.mailmap
+++ b/.mailmap
@@ -156,4 +156,5 @@ 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>
Artem V. Andreev <artem.andreev at oktetlabs.ru>
Artemii Morozov <artemii.morozov at arknetworks.am>
diff --git a/drivers/net/intel/ice/ice_dcf_sched.c b/drivers/net/intel/ice/ice_dcf_sched.c
index 948774a282..d9fe0cf16f 100644
--- a/drivers/net/intel/ice/ice_dcf_sched.c
+++ b/drivers/net/intel/ice/ice_dcf_sched.c
@@ -189,10 +189,4 @@ ice_dcf_node_param_check(struct ice_dcf_hw *hw, uint32_t node_id,
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;
}
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:44.370628268 +0000
+++ 0180-net-ice-remove-unreachable-DCF-scheduler-branch.patch 2026-12-03 12:52:39.154904485 +0000
@@ -1 +1 @@
-From 9702cc903562e981a639d08ceaa8addd2f96e965 Mon Sep 17 00:00:00 2001
+From 38d96d4aa7f5fb4d09ac8976cc7c591d42ae1c43 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 9702cc903562e981a639d08ceaa8addd2f96e965 ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org
@@ -25 +26 @@
-index 6fd5b6f716..ad5fa21fd7 100644
+index f0e533a172..8ae73b8f53 100644
@@ -28 +29 @@
-@@ -159,4 +159,5 @@ Arnaud Fiorini <arnaud.fiorini at polymtl.ca>
+@@ -156,4 +156,5 @@ Arnaud Fiorini <arnaud.fiorini at polymtl.ca>
@@ -35 +36 @@
-index 795b6e683d..5895407331 100644
+index 948774a282..d9fe0cf16f 100644
More information about the stable
mailing list