From: Chengwen Feng <[email protected]> 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 <[email protected]> --- 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

