patch 'net/ice: fix missing type casts for flex descriptors' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:01:52 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/0f6bc0f74bebbfa68fb1bc4c2040e9e65822bdd9

Thanks.

Kevin

---
>From 0f6bc0f74bebbfa68fb1bc4c2040e9e65822bdd9 Mon Sep 17 00:00:00 2001
From: Omar Munchaev <omarmunchaev at gmail.com>
Date: Tue, 29 Sep 2026 00:27:58 +0700
Subject: [PATCH] net/ice: fix missing type casts for flex descriptors

[ upstream commit 00fbc70dd67f530d8ddd1758a7c33f85f497a358 ]

When ice driver was ported to use the common Rx descriptor format,
some type casts were missed. Add them.

Fixes: e70342ba90a83 ("net/ice: use common Rx queue structure")

Signed-off-by: Omar Munchaev <omarmunchaev at gmail.com>
Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
---
 drivers/net/intel/ice/ice_rxtx.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/drivers/net/intel/ice/ice_rxtx.c b/drivers/net/intel/ice/ice_rxtx.c
index 2976e596f8..17a618f97f 100644
--- a/drivers/net/intel/ice/ice_rxtx.c
+++ b/drivers/net/intel/ice/ice_rxtx.c
@@ -2677,5 +2677,5 @@ ice_fdir_setup_rx_resources(struct ice_pf *pf)
 
 	/* Allocate RX hardware ring descriptors. */
-	ring_size = sizeof(union ice_32byte_rx_desc) * ICE_FDIR_NUM_RX_DESC;
+	ring_size = sizeof(union ci_rx_flex_desc) * ICE_FDIR_NUM_RX_DESC;
 	ring_size = RTE_ALIGN(ring_size, ICE_DMA_MEM_ALIGN);
 
@@ -2697,5 +2697,5 @@ ice_fdir_setup_rx_resources(struct ice_pf *pf)
 	rxq->rx_ring_phys_addr = rz->iova;
 	memset(rz->addr, 0, ICE_FDIR_NUM_RX_DESC *
-	       sizeof(union ice_32byte_rx_desc));
+	       sizeof(union ci_rx_flex_desc));
 	rxq->rx_flex_ring = (union ci_rx_flex_desc *)rz->addr;
 
@@ -4851,13 +4851,13 @@ static inline int
 ice_check_fdir_programming_status(struct ci_rx_queue *rxq)
 {
-	volatile union ice_32byte_rx_desc *rxdp;
-	uint64_t qword1;
-	uint32_t rx_status;
-	uint32_t error;
-	uint32_t id;
+	volatile union ci_rx_flex_desc *rxdp;
+	uint16_t qword1;
+	uint16_t rx_status;
+	uint16_t error;
+	uint16_t id;
 	int ret = -EAGAIN;
 
-	rxdp = (volatile union ice_32byte_rx_desc *)&rxq->rx_flex_ring[rxq->rx_tail];
-	qword1 = rte_le_to_cpu_64(rxdp->wb.qword1.status_error_len);
+	rxdp = &rxq->rx_flex_ring[rxq->rx_tail];
+	qword1 = rte_le_to_cpu_16(rxdp->wb.status_error0);
 	rx_status = (qword1 & ICE_RXD_QW1_STATUS_M)
 			>> ICE_RXD_QW1_STATUS_S;
@@ -4884,5 +4884,5 @@ ice_check_fdir_programming_status(struct ci_rx_queue *rxq)
 		}
 err:
-		rxdp->wb.qword1.status_error_len = 0;
+		rxdp->wb.status_error0 = 0;
 		rxq->rx_tail++;
 		if (unlikely(rxq->rx_tail == rxq->nb_rx_desc))
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:44.542203669 +0000
+++ 0186-net-ice-fix-missing-type-casts-for-flex-descriptors.patch	2026-12-03 12:52:39.162060403 +0000
@@ -1 +1 @@
-From 00fbc70dd67f530d8ddd1758a7c33f85f497a358 Mon Sep 17 00:00:00 2001
+From 0f6bc0f74bebbfa68fb1bc4c2040e9e65822bdd9 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 00fbc70dd67f530d8ddd1758a7c33f85f497a358 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index d01d869e1b..bc8ca46b7b 100644
+index 2976e596f8..17a618f97f 100644
@@ -22 +23 @@
-@@ -2699,5 +2699,5 @@ ice_fdir_setup_rx_resources(struct ice_pf *pf)
+@@ -2677,5 +2677,5 @@ ice_fdir_setup_rx_resources(struct ice_pf *pf)
@@ -29 +30 @@
-@@ -2719,5 +2719,5 @@ ice_fdir_setup_rx_resources(struct ice_pf *pf)
+@@ -2697,5 +2697,5 @@ ice_fdir_setup_rx_resources(struct ice_pf *pf)
@@ -36 +37 @@
-@@ -4465,13 +4465,13 @@ static inline int
+@@ -4851,13 +4851,13 @@ static inline int
@@ -57 +58 @@
-@@ -4498,5 +4498,5 @@ ice_check_fdir_programming_status(struct ci_rx_queue *rxq)
+@@ -4884,5 +4884,5 @@ ice_check_fdir_programming_status(struct ci_rx_queue *rxq)



More information about the stable mailing list