net/hinic: allocate IO memory with socket id
[dpdk.git] / drivers / net / hinic / base / hinic_pmd_eqs.c
index abe0dae..79e1b20 100644 (file)
@@ -240,7 +240,7 @@ static int alloc_eq_pages(struct hinic_eq *eq)
                eq->virt_addr[pg_num] =
                        (u8 *)dma_zalloc_coherent_aligned(eq->hwdev,
                                        eq->page_size, &eq->dma_addr[pg_num],
-                                       GFP_KERNEL);
+                                       SOCKET_ID_ANY);
                if (!eq->virt_addr[pg_num]) {
                        err = -ENOMEM;
                        goto dma_alloc_err;