[PATCH] test/dispatcher: transfer impl_opaque field

Mattias Rönnblom mattias.ronnblom at ericsson.com
Wed Dec 11 15:13:03 CET 2024


The dispatcher tests failed to transfer the impl_opaque rte_event
field between the dequeued and enqueued event, in violation with the
Eventdev API contract.

Fixes: ecca8a0be606 ("lib: introduce dispatcher library")
Cc: stable at dpdk.org

Signed-off-by: Mattias Rönnblom <mattias.ronnblom at ericsson.com>
---
 app/test/test_dispatcher.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/test/test_dispatcher.c b/app/test/test_dispatcher.c
index 6eb3f572cf..a5fdf4a64c 100644
--- a/app/test/test_dispatcher.c
+++ b/app/test/test_dispatcher.c
@@ -385,6 +385,7 @@ test_app_process_queue(uint8_t p_event_dev_id, uint8_t p_event_port_id,
 				.sched_type = RTE_SCHED_TYPE_ATOMIC,
 				.op = RTE_EVENT_OP_FORWARD,
 				.priority = RTE_EVENT_DEV_PRIORITY_NORMAL,
+				.impl_opaque = in_event->impl_opaque,
 				.u64 = sn
 			};
 	}
-- 
2.43.0



More information about the stable mailing list