patch 'net/ice/base: fix type conversion' has been queued to stable release 24.11.3
Kevin Traynor
ktraynor at redhat.com
Fri Jul 18 21:30:08 CEST 2025
Hi,
FYI, your patch has been queued to stable release 24.11.3
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 07/23/25. 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/0418eab283515a30fcb8ddadab35408a83d7f312
Thanks.
Kevin
---
>From 0418eab283515a30fcb8ddadab35408a83d7f312 Mon Sep 17 00:00:00 2001
From: Waldemar Dworakowski <waldemar.dworakowski at intel.com>
Date: Tue, 27 May 2025 13:17:20 +0000
Subject: [PATCH] net/ice/base: fix type conversion
[ upstream commit 16517011abfb4974af4eba63ad5a5e2aa65ef3ee ]
In ice_sched_move_vsi_to_agg() int16 is used to pass 8 bit value
which causes a compiler warning:
warning C4244: 'function' : conversion from 'UINT16' to 'UINT8',
possible loss of data
Changed variable type to avoid conversion
Fixes: aff06930682c ("net/ice/base: remove 255 limit on sched child nodes")
Signed-off-by: Waldemar Dworakowski <waldemar.dworakowski at intel.com>
Signed-off-by: Dhanya Pillai <dhanya.r.pillai at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
drivers/net/ice/base/ice_sched.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c
index 1f520bb7c0..a8a149f541 100644
--- a/drivers/net/ice/base/ice_sched.c
+++ b/drivers/net/ice/base/ice_sched.c
@@ -2384,5 +2384,6 @@ ice_sched_move_vsi_to_agg(struct ice_port_info *pi, u16 vsi_handle, u32 agg_id,
u8 aggl, vsil;
int status;
- u16 i;
+ u16 j;
+ u8 i;
tc_node = ice_sched_get_tc_node(pi, tc);
@@ -2410,7 +2411,7 @@ ice_sched_move_vsi_to_agg(struct ice_port_info *pi, u16 vsi_handle, u32 agg_id,
/* Check if the aggregator subtree has any free node to add the VSI */
- for (i = 0; i < agg_node->num_children; i++) {
+ for (j = 0; j < agg_node->num_children; j++) {
parent = ice_sched_get_free_vsi_parent(pi->hw,
- agg_node->children[i],
+ agg_node->children[j],
num_nodes);
if (parent)
--
2.50.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-07-18 20:29:13.616398602 +0100
+++ 0074-net-ice-base-fix-type-conversion.patch 2025-07-18 20:29:10.976907472 +0100
@@ -1 +1 @@
-From 16517011abfb4974af4eba63ad5a5e2aa65ef3ee Mon Sep 17 00:00:00 2001
+From 0418eab283515a30fcb8ddadab35408a83d7f312 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 16517011abfb4974af4eba63ad5a5e2aa65ef3ee ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org
@@ -21 +22 @@
- drivers/net/intel/ice/base/ice_sched.c | 7 ++++---
+ drivers/net/ice/base/ice_sched.c | 7 ++++---
@@ -24 +25 @@
-diff --git a/drivers/net/intel/ice/base/ice_sched.c b/drivers/net/intel/ice/base/ice_sched.c
+diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c
@@ -26,2 +27,2 @@
---- a/drivers/net/intel/ice/base/ice_sched.c
-+++ b/drivers/net/intel/ice/base/ice_sched.c
+--- a/drivers/net/ice/base/ice_sched.c
++++ b/drivers/net/ice/base/ice_sched.c
More information about the stable
mailing list