patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH] test/event: fix missing schedule type assignment
@ 2024-07-23 19:32 pbhagavatula
  0 siblings, 0 replies; only message 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] only message in thread

only message in thread, other threads:[~2024-07-23 19:32 UTC | newest]

Thread overview: (only message) (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

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).