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

diff --git a/drivers/dma/hisi_acc/hisi_acc_dmadev.c 
b/drivers/dma/hisi_acc/hisi_acc_dmadev.c
index 196aaadc05..7754d27b40 100644
--- a/drivers/dma/hisi_acc/hisi_acc_dmadev.c
+++ b/drivers/dma/hisi_acc/hisi_acc_dmadev.c
@@ -631,7 +631,7 @@ hacc_dma_create(struct rte_uacce_device *uacce_dev, 
uint16_t queue_id)
                        uacce_dev->qfrt_sz[RTE_UACCE_QFRT_DUS] - 
sizeof(uint32_t));
        hw->cq_status = hw->sq_status - 1;
 
-       hw->status = rte_zmalloc_socket(NULL, sizeof(uint16_t) * hw->sq_depth,
+       hw->status = rte_zmalloc_numa(NULL, sizeof(uint16_t) * hw->sq_depth,
                                        RTE_CACHE_LINE_SIZE, 
uacce_dev->numa_node);
        if (hw->status == NULL) {
                HACC_DMA_ERR(hw, "malloc status region fail!");
-- 
2.55.0

Reply via email to