patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH] test/dispatcher: transfer impl_opaque field
@ 2024-12-11 14:13 Mattias Rönnblom
  0 siblings, 0 replies; only message in thread
From: Mattias Rönnblom @ 2024-12-11 14:13 UTC (permalink / raw)
  To: dev, Jerin Jacob; +Cc: hofors, Luka Jankovic, Mattias Rönnblom, stable

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(+)

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-11 14:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-11 14:13 [PATCH] test/dispatcher: transfer impl_opaque field Mattias Rönnblom

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