Skip to content

Commit

Permalink
test/event: fix missing schedule type assignment
Browse files Browse the repository at this point in the history
Missing schedule type assignment might set it to
incorrect value, set it to SCHED_TYPE_PARALLEL.

Fixes: d007a7f ("eventdev: introduce link profiles")
Cc: stable@dpdk.org

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
  • Loading branch information
PavanNikhilesh authored and jerinjacobk committed Sep 17, 2024
1 parent cb9187b commit 76fc0bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/test/test_eventdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 76fc0bd

Please sign in to comment.