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/net/dpaa/dpaa_ethdev.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c
index fe49c7b961..0e4679fd2b 100644
--- a/drivers/net/dpaa/dpaa_ethdev.c
+++ b/drivers/net/dpaa/dpaa_ethdev.c
@@ -1123,7 +1123,7 @@ static inline int dpaa_eth_rx_queue_bp_check(struct 
rte_eth_dev *dev,
 static
 int dpaa_eth_rx_queue_setup(struct rte_eth_dev *dev, uint16_t queue_idx,
                            uint16_t nb_desc,
-                           unsigned int socket_id __rte_unused,
+                           unsigned int numa_id __rte_unused,
                            const struct rte_eth_rxconf *rx_conf,
                            struct rte_mempool *mp)
 {
@@ -1450,7 +1450,7 @@ dpaa_eth_eventq_detach(const struct rte_eth_dev *dev,
 static
 int dpaa_eth_tx_queue_setup(struct rte_eth_dev *dev, uint16_t queue_idx,
                            uint16_t nb_desc __rte_unused,
-               unsigned int socket_id __rte_unused,
+               unsigned int numa_id __rte_unused,
                const struct rte_eth_txconf *tx_conf)
 {
        struct dpaa_if *dpaa_intf = dev->data->dev_private;
@@ -2652,7 +2652,7 @@ rte_dpaa_probe(struct rte_dpaa_driver *dpaa_drv,
                        DPAA_POOL_SIZE,
                        DPAA_POOL_CACHE_SIZE, 0,
                        DPAA_MAX_SGS * sizeof(struct qm_sg_entry),
-                       rte_socket_id());
+                       rte_numa_id());
                if (dpaa_tx_sg_pool == NULL) {
                        DPAA_PMD_ERR("SG pool creation failed");
                        diag = -ENOMEM;
-- 
2.55.0

Reply via email to