test/dispatcher: transfer impl_opaque field

Message ID 20241211141303.132448-1-mattias.ronnblom@ericsson.com (mailing list archive)
State New
Delegated to: Thomas Monjalon
Headers
Series test/dispatcher: transfer impl_opaque field |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/loongarch-compilation success Compilation OK
ci/loongarch-unit-testing success Unit Testing PASS
ci/iol-marvell-Functional success Functional Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/github-robot: build success github build: passed
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-unit-amd64-testing success Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-sample-apps-testing success Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-unit-arm64-testing success Testing PASS
ci/iol-compile-amd64-testing warning Testing issues
ci/iol-compile-arm64-testing success Testing PASS
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/intel-Functional success Functional PASS
ci/iol-abi-testing success Testing PASS

Commit Message

Mattias Rönnblom Dec. 11, 2024, 2:13 p.m. UTC
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@dpdk.org

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

Patch

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
 			};
 	}