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

diff --git a/lib/pdump/rte_pdump.c b/lib/pdump/rte_pdump.c
index ac94efe7ff..10d195e39a 100644
--- a/lib/pdump/rte_pdump.c
+++ b/lib/pdump/rte_pdump.c
@@ -636,7 +636,7 @@ rte_pdump_init(void)
                        return -1;
 
                mz = rte_memzone_reserve(MZ_RTE_PDUMP_STATS, 
sizeof(*pdump_stats),
-                                        SOCKET_ID_ANY, 0);
+                                        RTE_NUMA_ID_ANY, 0);
                if (mz == NULL) {
                        PDUMP_LOG_LINE(ERR, "cannot allocate pdump statistics");
                        rte_mp_action_unregister(PDUMP_MP);
-- 
2.55.0

Reply via email to