dev: fix default number of rx queues 64/42964/3
authorMonendra Singh Kushwaha <[email protected]>
Thu, 15 May 2025 10:47:02 +0000 (16:17 +0530)
committerDamjan Marion <[email protected]>
Wed, 21 May 2025 09:08:59 +0000 (09:08 +0000)
Type: fix

Change-Id: I54b79b4a639ac07f901c98641ff2857813347d65
Signed-off-by: Monendra Singh Kushwaha <[email protected]>
src/vnet/dev/api.c

index d968f66..b27e84b 100644 (file)
@@ -206,7 +206,7 @@ vnet_dev_api_create_port_if (vlib_main_t *vm,
       a.num_rx_queues = args->num_rx_queues;
     }
   else
-    a.num_rx_queues = clib_min (port->attr.max_tx_queues, 1);
+    a.num_rx_queues = 1;
 
   if (args->num_tx_queues)
     {