patch 'event/cnxk: fix new-event burst enqueue with LMTST' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Mon Nov 16 23:51:22 CET 2026
Hi,
FYI, your patch has been queued to stable release 24.11.9
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/18/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/c5a65b5f798147c2c309285fe1b6b053c6301ad0
Thanks.
Luca Boccassi
---
>From c5a65b5f798147c2c309285fe1b6b053c6301ad0 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
@@ -350,6 +350,8 @@ again:
roc_lmt_submit_steorl(wdata[1], pa[1]);
}
+ rte_io_wmb();
+
left -= (sz0 + sz1);
if (left)
goto again;
@@ -395,6 +397,13 @@ cn10k_sso_hws_enq_new_burst(void *port, const struct rte_event ev[],
uint8_t queue_id;
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;
if (space <= 0)
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
@@ -308,6 +308,8 @@ again:
roc_lmt_submit_steorl(wdata[1], pa[1]);
}
+ rte_io_wmb();
+
left -= (sz0 + sz1);
if (left)
goto again;
@@ -350,6 +352,13 @@ cn20k_sso_hws_enq_new_burst(void *port, const struct rte_event ev[], uint16_t nb
uint8_t queue_id;
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;
if (space <= 0)
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-11-16 22:52:16.856388768 +0000
+++ 0008-event-cnxk-fix-new-event-burst-enqueue-with-LMTST.patch 2026-11-16 22:52:16.420231683 +0000
@@ -1 +1 @@
-From 76dc1f48b7a33e883aeb5900e778430f378b9620 Mon Sep 17 00:00:00 2001
+From c5a65b5f798147c2c309285fe1b6b053c6301ad0 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
@@ -50 +51 @@
-index 8c1df3dbaf..c15e3cd46a 100644
+index 53daf3b4b0..6c3dc8f286 100644
More information about the stable
mailing list