From: Chengwen Feng <[email protected]>

Rename socket_id parameters, internal variables and comments to
the NUMA node terminology, and switch internal calls to
rte_zmalloc_numa(), rte_numa_id() and RTE_NUMA_ID_ANY.

Signed-off-by: Chengwen Feng <[email protected]>
---
 lib/gpudev/gpudev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/gpudev/gpudev.c b/lib/gpudev/gpudev.c
index 4a2335834c..6d70a28387 100644
--- a/lib/gpudev/gpudev.c
+++ b/lib/gpudev/gpudev.c
@@ -169,7 +169,7 @@ gpu_shared_mem_init(void)
                memzone = rte_memzone_reserve(GPU_MEMZONE,
                                sizeof(*gpu_shared_mem) +
                                sizeof(*gpu_shared_mem->gpus) * gpu_max,
-                               SOCKET_ID_ANY, 0);
+                               RTE_NUMA_ID_ANY, 0);
        } else {
                memzone = rte_memzone_lookup(GPU_MEMZONE);
        }
-- 
2.55.0

Reply via email to