From: Harman Kalra Date: Tue, 12 Jan 2021 18:24:46 +0000 (+0530) Subject: examples/l3fwd: remove limitation on Tx queue count X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=88256ed85338c572d73006e4c4530a52d3b477ff;p=dpdk.git examples/l3fwd: remove limitation on Tx queue count In l3fwd no of transmit queues is calculated based on no of lcores with which it is launched. Hence maximum no of tx queues possible per port should depend on RTE_MAX_LCORE value. Fixes: af75078fece3 ("first public release") Cc: stable@dpdk.org Signed-off-by: Harman Kalra Reviewed-by: David Marchand --- diff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c index d62dec434c..bb49e5faff 100644 --- a/examples/l3fwd/main.c +++ b/examples/l3fwd/main.c @@ -48,7 +48,7 @@ #include "l3fwd.h" #include "l3fwd_event.h" -#define MAX_TX_QUEUE_PER_PORT RTE_MAX_ETHPORTS +#define MAX_TX_QUEUE_PER_PORT RTE_MAX_LCORE #define MAX_RX_QUEUE_PER_PORT 128 #define MAX_LCORE_PARAMS 1024