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/pdcp/rte_pdcp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/pdcp/rte_pdcp.c b/lib/pdcp/rte_pdcp.c
index d21df8ab43..21c77296d2 100644
--- a/lib/pdcp/rte_pdcp.c
+++ b/lib/pdcp/rte_pdcp.c
@@ -145,8 +145,8 @@ rte_pdcp_entity_establish(const struct rte_pdcp_entity_conf 
*conf)
                return NULL;
        }
 
-       entity = rte_zmalloc_socket("pdcp_entity", entity_layout.total_size, 
RTE_CACHE_LINE_SIZE,
-                                   SOCKET_ID_ANY);
+       entity = rte_zmalloc_numa("pdcp_entity", entity_layout.total_size, 
RTE_CACHE_LINE_SIZE,
+                                   RTE_NUMA_ID_ANY);
        if (entity == NULL) {
                rte_errno = ENOMEM;
                return NULL;
-- 
2.55.0

Reply via email to