patch 'net/ice/base: fix loop counter type in recipe creation' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:03:33 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/bfa5f411fb65b1e183a08c857126cd707a6b5cb5

Thanks.

Kevin

---
>From bfa5f411fb65b1e183a08c857126cd707a6b5cb5 Mon Sep 17 00:00:00 2001
From: Deepthi Kavalur <deepthi.kavalur at intel.com>
Date: Thu, 22 Oct 2026 16:51:57 +0000
Subject: [PATCH] net/ice/base: fix loop counter type in recipe creation

[ upstream commit 7db13bceb5e7b835330ac4ea2eaecc9d041873dd ]

The lookup loop in ice_add_adv_recipe() uses a u8 counter, while the
number of lookups is u16. Use a u16 counter, so it cannot wrap around
before reaching the bound.

Fixes: fed0c5ca5f19 ("net/ice/base: support programming a new switch recipe")

Signed-off-by: Deepthi Kavalur <deepthi.kavalur at intel.com>
Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
---
 drivers/net/intel/ice/base/ice_switch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/intel/ice/base/ice_switch.c b/drivers/net/intel/ice/base/ice_switch.c
index 94099c5215..cba3ca05fc 100644
--- a/drivers/net/intel/ice/base/ice_switch.c
+++ b/drivers/net/intel/ice/base/ice_switch.c
@@ -8255,5 +8255,5 @@ ice_add_adv_recipe(struct ice_hw *hw, struct ice_adv_lkup_elem *lkups,
 	struct ice_sw_fv_list_entry *tmp;
 	struct ice_sw_recipe *rm;
-	u8 i;
+	u16 i;
 	int status = ICE_SUCCESS;
 
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:47.355058611 +0000
+++ 0287-net-ice-base-fix-loop-counter-type-in-recipe-creatio.patch	2026-12-03 12:52:39.228938733 +0000
@@ -1 +1 @@
-From 7db13bceb5e7b835330ac4ea2eaecc9d041873dd Mon Sep 17 00:00:00 2001
+From bfa5f411fb65b1e183a08c857126cd707a6b5cb5 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 7db13bceb5e7b835330ac4ea2eaecc9d041873dd ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list