patch 'event/cnxk: fix crash on CN10K' has been queued to stable release 25.11.1
Kevin Traynor
ktraynor at redhat.com
Fri Mar 27 11:01:18 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/31/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/ce6ce80fd5505e1e3b09597c2dfefbe74f27a427
Thanks.
Kevin
---
>From ce6ce80fd5505e1e3b09597c2dfefbe74f27a427 Mon Sep 17 00:00:00 2001
From: Rahul Bhansali <rbhansali at marvell.com>
Date: Wed, 4 Mar 2026 15:42:31 +0530
Subject: [PATCH] event/cnxk: fix crash on CN10K
[ upstream commit f181c1e2897eaf9defdabfcf9d641cf1b77436bf ]
The field evdev_priv will have valid event dev pointer only when
eth_rx_adapter_queue_add() is called.
In case of poll mode tests, queue add will not be called so this
will be NULL. It is fixed by having a NULL check before access.
Fixes: 01a990fe40e8 ("event/cnxk: fix OOP handling in event mode")
Signed-off-by: Rahul Bhansali <rbhansali at marvell.com>
---
drivers/event/cnxk/cn10k_eventdev.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/event/cnxk/cn10k_eventdev.c b/drivers/event/cnxk/cn10k_eventdev.c
index 0c1431b4e7..2e4b8aab92 100644
--- a/drivers/event/cnxk/cn10k_eventdev.c
+++ b/drivers/event/cnxk/cn10k_eventdev.c
@@ -676,6 +676,10 @@ cn10k_sso_rx_offload_cb(uint16_t port_id, uint64_t flags)
struct cnxk_eth_dev *cnxk_eth_dev = dev->data->dev_private;
struct rte_eventdev *event_dev = cnxk_eth_dev->evdev_priv;
- struct cnxk_sso_evdev *evdev = cnxk_sso_pmd_priv(event_dev);
+ struct cnxk_sso_evdev *evdev;
+ if (event_dev == NULL)
+ return;
+
+ evdev = cnxk_sso_pmd_priv(event_dev);
evdev->rx_offloads |= flags;
cn10k_sso_fp_fns_set((struct rte_eventdev *)(uintptr_t)event_dev);
--
2.53.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-03-27 09:58:26.689395429 +0000
+++ 0018-event-cnxk-fix-crash-on-CN10K.patch 2026-03-27 09:58:26.146625508 +0000
@@ -1 +1 @@
-From f181c1e2897eaf9defdabfcf9d641cf1b77436bf Mon Sep 17 00:00:00 2001
+From ce6ce80fd5505e1e3b09597c2dfefbe74f27a427 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit f181c1e2897eaf9defdabfcf9d641cf1b77436bf ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list