[PATCH v27 20/25] net/dpaa: create max Rx queues in FMCLESS mode
Hemant Agrawal
hemant.agrawal at nxp.com
Fri Oct 16 13:19:53 CEST 2026
From: Jun Yang <jun.yang at nxp.com>
In FMCLESS mode, create DPAA_MAX_NUM_PCD_QUEUES Rx frame queues
instead of one per lcore, since several queues may be polled from
the same core. configure() selects how many are used.
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