patch 'event/cnxk: fix new-event burst enqueue with LMTST' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 14:04:55 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/5e98c2b6f9a26f7362b81edc66c30e98bbbac666
Thanks.
Kevin
---
>From 5e98c2b6f9a26f7362b81edc66c30e98bbbac666 Mon Sep 17 00:00:00 2001
From: Pavan Nikhilesh <pbhagavatula at marvell.com>
Date: Sat, 7 Nov 2026 10:41:38 +0530
Subject: [PATCH] event/cnxk: fix new-event burst enqueue with LMTST
[ upstream commit 76dc1f48b7a33e883aeb5900e778430f378b9620 ]
Add an I/O write barrier after LMTST submissions in the new-event
helper so the stores are ordered before the next iteration.
Enqueue small bursts, below one LMT line of entries, event by event
instead of using the LMTST path.
Fixes: c3320d21b475 ("event/cnxk: use LMTST for enqueue new burst")
Fixes: b08b193bceab ("event/cnxk: add CN20K SSO enqueue fast path")
Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
---
drivers/event/cnxk/cn10k_worker.c | 9 +++++++++
drivers/event/cnxk/cn20k_worker.c | 9 +++++++++
2 files changed, 18 insertions(+)
diff --git a/drivers/event/cnxk/cn10k_worker.c b/drivers/event/cnxk/cn10k_worker.c
index 80077ec8a1..89eac41234 100644
--- a/drivers/event/cnxk/cn10k_worker.c
+++ b/drivers/event/cnxk/cn10k_worker.c
@@ -351,4 +351,6 @@ again:
}
+ rte_io_wmb();
+
left -= (sz0 + sz1);
if (left)
@@ -396,4 +398,11 @@ cn10k_sso_hws_enq_new_burst(void *port, const struct rte_event ev[],
int32_t space;
+ if (nb_events < BIT(ROC_SSO_AW_PER_LMT_LINE_LOG2)) {
+ for (idx = 0; idx < nb_events; idx++)
+ if (!cn10k_sso_hws_new_event(ws, &ev[idx]))
+ break;
+ return idx;
+ }
+
/* Do a common back-pressure check and return */
space = sso_read_xaq_space(ws) - ws->xae_waes;
diff --git a/drivers/event/cnxk/cn20k_worker.c b/drivers/event/cnxk/cn20k_worker.c
index 53daf3b4b0..6c3dc8f286 100644
--- a/drivers/event/cnxk/cn20k_worker.c
+++ b/drivers/event/cnxk/cn20k_worker.c
@@ -309,4 +309,6 @@ again:
}
+ rte_io_wmb();
+
left -= (sz0 + sz1);
if (left)
@@ -351,4 +353,11 @@ cn20k_sso_hws_enq_new_burst(void *port, const struct rte_event ev[], uint16_t nb
int32_t space;
+ if (nb_events < BIT(ROC_SSO_AW_PER_LMT_LINE_LOG2)) {
+ for (idx = 0; idx < nb_events; idx++)
+ if (!cn20k_sso_hws_new_event(ws, &ev[idx]))
+ break;
+ return idx;
+ }
+
/* Do a common back-pressure check and return */
space = sso_read_xaq_space(ws) - ws->xae_waes;
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:49.630914913 +0000
+++ 0369-event-cnxk-fix-new-event-burst-enqueue-with-LMTST.patch 2026-12-03 12:52:39.283236204 +0000
@@ -1 +1 @@
-From 76dc1f48b7a33e883aeb5900e778430f378b9620 Mon Sep 17 00:00:00 2001
+From 5e98c2b6f9a26f7362b81edc66c30e98bbbac666 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 76dc1f48b7a33e883aeb5900e778430f378b9620 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -23 +24 @@
-index f33c3a561a..a8ddbc5d8b 100644
+index 80077ec8a1..89eac41234 100644
@@ -46 +47 @@
-index 8c1df3dbaf..c15e3cd46a 100644
+index 53daf3b4b0..6c3dc8f286 100644
More information about the stable
mailing list