patch 'test/event: fix number of queues in eventdev conf' has been queued to stable release 24.11.2

Kevin Traynor ktraynor at redhat.com
Fri Mar 7 13:46:55 CET 2025


Hi,

FYI, your patch has been queued to stable release 24.11.2

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/12/25. 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://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/1bc35ac7c9320d2da53169f387ac718ffa409538

Thanks.

Kevin

---
>From 1bc35ac7c9320d2da53169f387ac718ffa409538 Mon Sep 17 00:00:00 2001
From: Shijith Thotton <sthotton at marvell.com>
Date: Thu, 6 Feb 2025 20:02:44 +0530
Subject: [PATCH] test/event: fix number of queues in eventdev conf

[ upstream commit baa3cc13c1df10eb36a158c45a921ede2e806f75 ]

The unit test adapter_pollq_instance_get requires three event queues,
but the test suite was only configuring a single queue. This patch
updates the test suite setup function to configure max available queues.

Fixes: a1793ee8aba0 ("eventdev/eth_rx: add adapter instance get API")

Signed-off-by: Shijith Thotton <sthotton at marvell.com>
Acked-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
---
 app/test/test_event_eth_rx_adapter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test/test_event_eth_rx_adapter.c b/app/test/test_event_eth_rx_adapter.c
index 0233c87779..9a60e34352 100644
--- a/app/test/test_event_eth_rx_adapter.c
+++ b/app/test/test_event_eth_rx_adapter.c
@@ -231,5 +231,4 @@ testsuite_setup(void)
 
 	struct rte_event_dev_config config = {
-			.nb_event_queues = 1,
 			.nb_event_ports = 1,
 	};
@@ -243,4 +242,5 @@ testsuite_setup(void)
 	config.nb_events_limit =
 			dev_info.max_num_events;
+	config.nb_event_queues = dev_info.max_event_queues;
 	err = rte_event_dev_configure(TEST_DEV_ID, &config);
 	TEST_ASSERT(err == 0, "Event device initialization failed err %d\n",
-- 
2.48.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-03-07 11:02:57.703605497 +0000
+++ 0022-test-event-fix-number-of-queues-in-eventdev-conf.patch	2025-03-07 11:02:56.863371071 +0000
@@ -1 +1 @@
-From baa3cc13c1df10eb36a158c45a921ede2e806f75 Mon Sep 17 00:00:00 2001
+From 1bc35ac7c9320d2da53169f387ac718ffa409538 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit baa3cc13c1df10eb36a158c45a921ede2e806f75 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list