[PATCH v26 20/26] net/dpaa: support fmcless rxq number as devargs

Hemant Agrawal hemant.agrawal at nxp.com
Thu Oct 15 16:11:38 CEST 2026


From: Jun Yang <jun.yang at nxp.com>

In FMCLESS mode, set the default number of Rx frame queues to the
maximum queue number instead of the core count, because multiple
queues may be processed on the same core. The value can also be
configured per port through the 'drv_fmcless_rxq' device argument.
A malformed value fails the probe instead of silently using the
default.

Signed-off-by: Jun Yang <jun.yang at nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
---
 drivers/net/dpaa/dpaa_ethdev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c
index f044a0a3b9..cefeb2ce0f 100644
--- a/drivers/net/dpaa/dpaa_ethdev.c
+++ b/drivers/net/dpaa/dpaa_ethdev.c
@@ -2296,8 +2296,8 @@ dpaa_dev_init(struct rte_eth_dev *eth_dev)
 				dpaa_intf->name);
 		}
 	} else {
-		/* FMCLESS mode, load balance to multiple cores.*/
-		num_rx_fqs = rte_lcore_count();
+		/* FMCLESS: create the max; configure() picks how many are used. */
+		num_rx_fqs = DPAA_MAX_NUM_PCD_QUEUES;
 	}
 
 	/* Each device can not have more than DPAA_MAX_NUM_PCD_QUEUES RX
-- 
2.25.1



More information about the dev mailing list