Skip to content

Commit

Permalink
examples/l3fwd: remove limitation on Tx queue count
Browse files Browse the repository at this point in the history
[ upstream commit 88256ed ]

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: af75078 ("first public release")

Signed-off-by: Harman Kalra <hkalra@marvell.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
  • Loading branch information
harman-kalra authored and cpaelzer committed Feb 2, 2021
1 parent f5e732e commit ccb4443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/l3fwd/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#define RTE_TEST_RX_DESC_DEFAULT 1024
#define RTE_TEST_TX_DESC_DEFAULT 1024

#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
Expand Down

0 comments on commit ccb4443

Please sign in to comment.