> -----Original Message-----
> From: Shijith Thotton <[email protected]>
> Sent: Thursday, February 6, 2025 8:03 PM
> To: Jerin Jacob <[email protected]>
> Cc: [email protected]; Pavan Nikhilesh Bhagavatula
> <[email protected]>; Shijith Thotton <[email protected]>;
> [email protected]; Naga Harish K S V <[email protected]>
> Subject: [PATCH] test/event: fix number of queues in eventdev conf
>
> 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")
> Cc: [email protected]
>
> Signed-off-by: Shijith Thotton <[email protected]>
Acked-by: Pavan Nikhilesh <[email protected]>
> ---
> 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
> @@ -230,7 +230,6 @@ testsuite_setup(void)
> }
>
> struct rte_event_dev_config config = {
> - .nb_event_queues = 1,
> .nb_event_ports = 1,
> };
>
> @@ -242,6 +241,7 @@ testsuite_setup(void)
> dev_info.max_event_port_enqueue_depth;
> 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",
> err);
> --
> 2.25.1