patch 'common/cnxk: fix event type for soft expiry' has been queued to stable release 24.11.7

luca.boccassi at gmail.com luca.boccassi at gmail.com
Mon Jul 6 12:20:14 CEST 2026


Hi,

FYI, your patch has been queued to stable release 24.11.7

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/05/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/bbf73f301aba4ea5e0e8d26e2f6789728d466692

Thanks.

Luca Boccassi

---
>From bbf73f301aba4ea5e0e8d26e2f6789728d466692 Mon Sep 17 00:00:00 2001
From: Rahul Bhansali <rbhansali at marvell.com>
Date: Mon, 15 Jun 2026 21:54:36 +0530
Subject: [PATCH] common/cnxk: fix event type for soft expiry

[ upstream commit cea7b1843b052df1d81dd0e7c678ba841622e0ac ]

Fix event type to default for inline soft expiry processing.

Fixes: 4a6154a7bd27 ("common/cnxk: fix array out-of-bounds")

Signed-off-by: Rahul Bhansali <rbhansali at marvell.com>
---
 drivers/common/cnxk/roc_nix_inl_dev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/common/cnxk/roc_nix_inl_dev.c b/drivers/common/cnxk/roc_nix_inl_dev.c
index 0b6f92e256..be16c1b2d7 100644
--- a/drivers/common/cnxk/roc_nix_inl_dev.c
+++ b/drivers/common/cnxk/roc_nix_inl_dev.c
@@ -752,6 +752,7 @@ inl_outb_soft_exp_poll(struct nix_inl_dev *inl_dev, uint32_t ring_idx)
 
 		if (sa != NULL) {
 			uint64_t tmp[2];
+			tmp[0] = ~0ULL;
 			inl_dev->work_cb(tmp, sa, (port_id << 8) | 0x1);
 			__atomic_store_n(ring_base + tail_l + 1, 0ULL, __ATOMIC_RELAXED);
 			__atomic_fetch_add((uint32_t *)ring_base, 1, __ATOMIC_ACQ_REL);
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-07-03 12:55:47.547535666 +0100
+++ 0022-common-cnxk-fix-event-type-for-soft-expiry.patch	2026-07-03 12:55:46.626572828 +0100
@@ -1 +1 @@
-From cea7b1843b052df1d81dd0e7c678ba841622e0ac Mon Sep 17 00:00:00 2001
+From bbf73f301aba4ea5e0e8d26e2f6789728d466692 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit cea7b1843b052df1d81dd0e7c678ba841622e0ac ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -17 +18 @@
-index 667209b8a0..bfdeef2688 100644
+index 0b6f92e256..be16c1b2d7 100644
@@ -20 +21 @@
-@@ -1234,6 +1234,7 @@ inl_outb_soft_exp_poll(struct nix_inl_dev *inl_dev, uint32_t ring_idx)
+@@ -752,6 +752,7 @@ inl_outb_soft_exp_poll(struct nix_inl_dev *inl_dev, uint32_t ring_idx)
@@ -25 +26 @@
- 			inl_dev->work_cb(tmp, sa, NIX_INL_SOFT_EXPIRY_THRD, NULL, port_id);
+ 			inl_dev->work_cb(tmp, sa, (port_id << 8) | 0x1);


More information about the stable mailing list