[PATCH 033/227] pdcp: use NUMA node terminology

Chengwen Feng chengwen.feng at linux.dev
Tue Nov 3 15:49:51 CET 2026


From: Chengwen Feng <fengchengwen at huawei.com>

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 <fengchengwen at huawei.com>
---
 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



More information about the dev mailing list