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

diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c
index e40fe59c7c..ac41993796 100644
--- a/drivers/bus/fslmc/fslmc_bus.c
+++ b/drivers/bus/fslmc/fslmc_bus.c
@@ -251,7 +251,7 @@ scan_one_fslmc_device(char *dev_name)
                return -ENOMEM;
        }
 
-       dev->device.numa_node = SOCKET_ID_ANY;
+       dev->device.numa_node = RTE_NUMA_ID_ANY;
        dev->dev_type = dev_type;
 
        if (sscanf(dev_id, "%hu", &dev->object_id) != 1) {
-- 
2.55.0

Reply via email to