From: Chengwen Feng <[email protected]>

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 <[email protected]>
---
 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

Reply via email to