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/timer/rte_timer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/timer/rte_timer.c b/lib/timer/rte_timer.c
index b349c2abbc..150fffdfec 100644
--- a/lib/timer/rte_timer.c
+++ b/lib/timer/rte_timer.c
@@ -151,7 +151,7 @@ rte_timer_subsystem_init(void)
        mz = rte_memzone_lookup(mz_name);
        if (mz == NULL) {
                mz = rte_memzone_reserve_aligned(mz_name, mem_size,
-                               SOCKET_ID_ANY, 0, RTE_CACHE_LINE_SIZE);
+                               RTE_NUMA_ID_ANY, 0, RTE_CACHE_LINE_SIZE);
                if (mz == NULL) {
                        rte_mcfg_timer_unlock();
                        return -ENOMEM;
-- 
2.55.0

Reply via email to