* [PATCH] test/event: fix missing schedule type assignment
@ 2024-07-23 19:32 pbhagavatula
2024-09-17 15:16 ` Jerin Jacob
0 siblings, 1 reply; 2+ messages in thread
From: pbhagavatula @ 2024-07-23 19:32 UTC (permalink / raw)
To: jerinj; +Cc: dev, Pavan Nikhilesh, stable
From: Pavan Nikhilesh <pbhagavatula@marvell.com>
Missing schedule type assignment might set it to
incorrect value, set it to SCHED_TYPE_PARALLEL.
Fixes: d007a7f39de3 ("eventdev: introduce link profiles")
Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
---
app/test/test_eventdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/test/test_eventdev.c b/app/test/test_eventdev.c
index e4e234dc98..9a6c8f470c 100644
--- a/app/test/test_eventdev.c
+++ b/app/test/test_eventdev.c
@@ -1189,6 +1189,7 @@ test_eventdev_profile_switch(void)
ev.op = RTE_EVENT_OP_NEW;
ev.flow_id = 0;
ev.u64 = 0xBADF00D0;
+ ev.sched_type = RTE_SCHED_TYPE_PARALLEL;
rc = rte_event_enqueue_burst(TEST_DEV_ID, 0, &ev, 1);
TEST_ASSERT(rc == 1, "Failed to enqueue event");
ev.queue_id = 1;
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] test/event: fix missing schedule type assignment
2024-07-23 19:32 [PATCH] test/event: fix missing schedule type assignment pbhagavatula
@ 2024-09-17 15:16 ` Jerin Jacob
0 siblings, 0 replies; 2+ messages in thread
From: Jerin Jacob @ 2024-09-17 15:16 UTC (permalink / raw)
To: pbhagavatula; +Cc: jerinj, dev, stable
On Wed, Jul 24, 2024 at 1:02 AM <pbhagavatula@marvell.com> wrote:
>
> From: Pavan Nikhilesh <pbhagavatula@marvell.com>
>
> Missing schedule type assignment might set it to
> incorrect value, set it to SCHED_TYPE_PARALLEL.
>
> Fixes: d007a7f39de3 ("eventdev: introduce link profiles")
> Cc: stable@dpdk.org
>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Applied to dpdk-next-eventdev/for-main. Thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-17 15:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-23 19:32 [PATCH] test/event: fix missing schedule type assignment pbhagavatula
2024-09-17 15:16 ` 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).