[RFC PATCH v2 23/26] examples/l3fwd: use separate Rx and Tx queue limits
Bruce Richardson
bruce.richards at intel.com
Tue Aug 13 18:00:00 CEST 2024
Update example app to use the new defines RTE_MAX_ETHPORT_TX_QUEUES
and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define
RTE_MAX_QUEUES_PER_PORT.
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
examples/l3fwd/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c
index 01b763e5ba..0d711dec3e 100644
--- a/examples/l3fwd/main.c
+++ b/examples/l3fwd/main.c
@@ -502,7 +502,7 @@ parse_config(const char *q_arg)
unsigned size;
uint16_t max_fld[_NUM_FLD] = {
RTE_MAX_ETHPORTS,
- RTE_MAX_QUEUES_PER_PORT,
+ RTE_MAX_ETHPORT_RX_QUEUES,
RTE_MAX_LCORE
};
--
2.43.0
More information about the dev
mailing list