[PATCH 127/227] net/memif: use NUMA node terminology

Chengwen Feng chengwen.feng at linux.dev
Tue Nov 3 15:51:25 CET 2026


From: Chengwen Feng <fengchengwen at huawei.com>

Rename socket_id parameters, internal structure fields, variables
and comments to the NUMA node terminology, and switch calls to
the NUMA-named APIs.

Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
---
 drivers/net/memif/rte_eth_memif.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/memif/rte_eth_memif.c b/drivers/net/memif/rte_eth_memif.c
index 0680dc3947..7df31141c2 100644
--- a/drivers/net/memif/rte_eth_memif.c
+++ b/drivers/net/memif/rte_eth_memif.c
@@ -1765,7 +1765,7 @@ static int
 memif_tx_queue_setup(struct rte_eth_dev *dev,
 		     uint16_t qid,
 		     uint16_t nb_tx_desc __rte_unused,
-		     unsigned int socket_id __rte_unused,
+		     unsigned int numa_id __rte_unused,
 		     const struct rte_eth_txconf *tx_conf __rte_unused)
 {
 	struct pmd_internals *pmd = dev->data->dev_private;
@@ -1802,7 +1802,7 @@ static int
 memif_rx_queue_setup(struct rte_eth_dev *dev,
 		     uint16_t qid,
 		     uint16_t nb_rx_desc __rte_unused,
-		     unsigned int socket_id __rte_unused,
+		     unsigned int numa_id __rte_unused,
 		     const struct rte_eth_rxconf *rx_conf __rte_unused,
 		     struct rte_mempool *mb_pool)
 {
-- 
2.55.0



More information about the dev mailing list