* [PATCH] event/cnxk: fix getwork write data on reconfig
@ 2024-10-22 12:23 pbhagavatula
2024-10-25 6:28 ` Jerin Jacob
0 siblings, 1 reply; 2+ messages in thread
From: pbhagavatula @ 2024-10-22 12:23 UTC (permalink / raw)
To: jerinj, Pavan Nikhilesh, Shijith Thotton; +Cc: dev
From: Pavan Nikhilesh <pbhagavatula@marvell.com>
Update getwork write data on device reconfiguration
to avoid working with stale configuration.
Fixes: acc65ee307f7 ("eventdev: introduce event pre-scheduling")
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
---
drivers/event/cnxk/cn10k_eventdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/event/cnxk/cn10k_eventdev.c b/drivers/event/cnxk/cn10k_eventdev.c
index 531c489172..52e8ea18ad 100644
--- a/drivers/event/cnxk/cn10k_eventdev.c
+++ b/drivers/event/cnxk/cn10k_eventdev.c
@@ -98,6 +98,7 @@ cn10k_sso_hws_setup(void *arg, void *hws, uintptr_t grp_base)
ws->xaq_lmt = dev->xaq_lmt;
ws->fc_cache_space = dev->fc_cache_space;
ws->aw_lmt = ws->lmt_base;
+ ws->gw_wdata = cn10k_sso_gw_mode_wdata(dev);
/* Set get_work timeout for HWS */
val = NSEC2USEC(dev->deq_tmo_ns);
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] event/cnxk: fix getwork write data on reconfig
2024-10-22 12:23 [PATCH] event/cnxk: fix getwork write data on reconfig pbhagavatula
@ 2024-10-25 6:28 ` Jerin Jacob
0 siblings, 0 replies; 2+ messages in thread
From: Jerin Jacob @ 2024-10-25 6:28 UTC (permalink / raw)
To: pbhagavatula; +Cc: jerinj, Shijith Thotton, dev
On Tue, Oct 22, 2024 at 9:29 PM <pbhagavatula@marvell.com> wrote:
>
> From: Pavan Nikhilesh <pbhagavatula@marvell.com>
>
> Update getwork write data on device reconfiguration
> to avoid working with stale configuration.
>
> Fixes: acc65ee307f7 ("eventdev: introduce event pre-scheduling")
>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Applied to dpdk-next-net-eventdev/for-main. Thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-25 6:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-22 12:23 [PATCH] event/cnxk: fix getwork write data on reconfig pbhagavatula
2024-10-25 6:28 ` Jerin Jacob
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).