[RFC,v2,22/26] examples/l3fwd-power: use separate Rx and Tx queue limits

Message ID 20240813160003.423935-23-bruce.richards@intel.com (mailing list archive)
State Superseded
Delegated to: Thomas Monjalon
Headers
Series add meson config options for queues per port |

Checks

Context Check Description
ci/checkpatch warning coding style issues

Commit Message

Bruce Richardson Aug. 13, 2024, 3:59 p.m. UTC
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(-)
  

Patch

diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index 2bb6b092c3..bf95cdc487 100644
--- a/examples/l3fwd-power/main.c
+++ b/examples/l3fwd-power/main.c
@@ -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
 	};
 
diff --git a/examples/l3fwd-power/perf_core.c b/examples/l3fwd-power/perf_core.c
index 6c0f7ea213..479626ffb9 100644
--- a/examples/l3fwd-power/perf_core.c
+++ b/examples/l3fwd-power/perf_core.c
@@ -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
 	};