patch 'test/event: fix target event queue' has been queued to stable release 23.11.3

Xueming Li xuemingl at nvidia.com
Mon Nov 11 07:26:52 CET 2024


Hi,

FYI, your patch has been queued to stable release 23.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/30/24. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://git.dpdk.org/dpdk-stable/log/?h=23.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=638e0139f654a52d374517d41797988ec47f63f3

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 638e0139f654a52d374517d41797988ec47f63f3 Mon Sep 17 00:00:00 2001
From: Pavan Nikhilesh <pbhagavatula at marvell.com>
Date: Thu, 22 Aug 2024 02:07:31 +0530
Subject: [PATCH] test/event: fix target event queue
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit 367fa3504851ec6c4aef393a7c53638da45a903e ]

In OP_FWD mode, if internal port is supported, the target event queue
should be the TEST_APP_EV_QUEUE_ID.

Fixes: a276e7c8fbb3 ("test/event: add DMA adapter auto-test")

Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
Tested-by: Amit Prakash Shukla <amitprakashs at marvell.com>
Acked-by: Amit Prakash Shukla <amitprakashs at marvell.com>
---
 app/test/test_event_dma_adapter.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app/test/test_event_dma_adapter.c b/app/test/test_event_dma_adapter.c
index 35b417b69f..de0d671d3f 100644
--- a/app/test/test_event_dma_adapter.c
+++ b/app/test/test_event_dma_adapter.c
@@ -276,7 +276,10 @@ test_op_forward_mode(void)
 		memset(&ev[i], 0, sizeof(struct rte_event));
 		ev[i].event = 0;
 		ev[i].event_type = RTE_EVENT_TYPE_DMADEV;
-		ev[i].queue_id = TEST_DMA_EV_QUEUE_ID;
+		if (params.internal_port_op_fwd)
+			ev[i].queue_id = TEST_APP_EV_QUEUE_ID;
+		else
+			ev[i].queue_id = TEST_DMA_EV_QUEUE_ID;
 		ev[i].sched_type = RTE_SCHED_TYPE_ATOMIC;
 		ev[i].flow_id = 0xAABB;
 		ev[i].event_ptr = op;
--
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2024-11-11 14:23:05.808321426 +0800
+++ 0006-test-event-fix-target-event-queue.patch	2024-11-11 14:23:05.012192842 +0800
@@ -1 +1 @@
-From 367fa3504851ec6c4aef393a7c53638da45a903e Mon Sep 17 00:00:00 2001
+From 638e0139f654a52d374517d41797988ec47f63f3 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 367fa3504851ec6c4aef393a7c53638da45a903e ]
@@ -10 +12,0 @@
-Cc: stable at dpdk.org
@@ -20 +22 @@
-index 3b39521153..9988d4fc7b 100644
+index 35b417b69f..de0d671d3f 100644
@@ -23 +25,2 @@
-@@ -271,7 +271,10 @@ test_op_forward_mode(void)
+@@ -276,7 +276,10 @@ test_op_forward_mode(void)
+ 		memset(&ev[i], 0, sizeof(struct rte_event));
@@ -25 +27,0 @@
- 		ev[i].op = RTE_EVENT_OP_NEW;


More information about the stable mailing list