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@intel.com>
---
examples/l3fwd-power/main.c | 2 +-
examples/l3fwd-power/perf_core.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
@@ -1660,7 +1660,7 @@ parse_config(const char *q_arg)
unsigned size;
unsigned int max_fld[_NUM_FLD] = {
RTE_MAX_ETHPORTS,
- RTE_MAX_QUEUES_PER_PORT,
+ RTE_MAX_ETHPORT_RX_QUEUES,
RTE_MAX_LCORE
};
@@ -134,7 +134,7 @@ parse_perf_config(const char *q_arg)
unsigned int size;
unsigned int max_fld[_NUM_FLD] = {
RTE_MAX_ETHPORTS,
- RTE_MAX_QUEUES_PER_PORT,
+ RTE_MAX_ETHPORT_RX_QUEUES,
255,
RTE_MAX_LCORE
};