patches for DPDK stable branches
 help / color / mirror / Atom feed
From: "Mattias Rönnblom" <mattias.ronnblom@ericsson.com>
To: <dev@dpdk.org>, Jerin Jacob <jerinj@marvell.com>
Cc: hofors@lysator.liu.se,
	"Luka Jankovic" <luka.jankovic@ericsson.com>,
	"Mattias Rönnblom" <mattias.ronnblom@ericsson.com>,
	stable@dpdk.org
Subject: [PATCH] test/dispatcher: transfer impl_opaque field
Date: Wed, 11 Dec 2024 15:13:03 +0100	[thread overview]
Message-ID: <20241211141303.132448-1-mattias.ronnblom@ericsson.com> (raw)

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


                 reply	other threads:[~2024-12-11 14:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241211141303.132448-1-mattias.ronnblom@ericsson.com \
    --to=mattias.ronnblom@ericsson.com \
    --cc=dev@dpdk.org \
    --cc=hofors@lysator.liu.se \
    --cc=jerinj@marvell.com \
    --cc=luka.jankovic@ericsson.com \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).