[PATCH 173/227] app/graph: use NUMA node terminology

Chengwen Feng chengwen.feng at linux.dev
Tue Nov 3 15:52:11 CET 2026


From: Chengwen Feng <fengchengwen at huawei.com>

Rename socket_id parameters, local 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>
---
 app/graph/ethdev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/graph/ethdev.c b/app/graph/ethdev.c
index ee4b9014e8..1e978ec267 100644
--- a/app/graph/ethdev.c
+++ b/app/graph/ethdev.c
@@ -433,8 +433,8 @@ ethdev_process(const char *name, struct ethdev_config *params)
 		}
 	}
 
-	numa_node = rte_eth_dev_socket_id(port_id);
-	if (numa_node == SOCKET_ID_ANY)
+	numa_node = rte_eth_dev_numa_id(port_id);
+	if (numa_node == RTE_NUMA_ID_ANY)
 		numa_node = 0;
 
 	if (params->mtu)
-- 
2.55.0



More information about the dev mailing list