[PATCH] test/event: fix missing schedule type assignment
    pbhagavatula at marvell.com 
    pbhagavatula at marvell.com
       
    Tue Jul 23 21:32:12 CEST 2024
    
    
  
From: Pavan Nikhilesh <pbhagavatula at 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 at dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula at 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
    
    
More information about the stable
mailing list