[PATCH 047/227] bus/ifpga: use NUMA node terminology

Chengwen Feng chengwen.feng at linux.dev
Tue Nov 3 15:50:05 CET 2026


From: Chengwen Feng <fengchengwen at huawei.com>

Rename socket_id parameters, internal structure fields, variables
and comments to the NUMA node terminology, and switch calls to
the NUMA-named APIs.

Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
---
 drivers/bus/ifpga/ifpga_bus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bus/ifpga/ifpga_bus.c b/drivers/bus/ifpga/ifpga_bus.c
index 79d1c3778f..f61d52f6aa 100644
--- a/drivers/bus/ifpga/ifpga_bus.c
+++ b/drivers/bus/ifpga/ifpga_bus.c
@@ -137,7 +137,7 @@ ifpga_scan_one(struct rte_rawdev *rawdev,
 		goto end;
 
 	afu_dev->device.devargs = devargs;
-	afu_dev->device.numa_node = SOCKET_ID_ANY;
+	afu_dev->device.numa_node = RTE_NUMA_ID_ANY;
 	afu_dev->device.name = devargs->name;
 	afu_dev->rawdev = rawdev;
 	afu_dev->id.uuid.uuid_low  = 0;
-- 
2.55.0



More information about the dev mailing list