git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/memif: relax load of ring head for M2S zc ring
[dpdk.git]
/
drivers
/
net
/
hinic
/
base
/
hinic_pmd_eqs.c
diff --git
a/drivers/net/hinic/base/hinic_pmd_eqs.c
b/drivers/net/hinic/base/hinic_pmd_eqs.c
index
abe0dae
..
79e1b20
100644
(file)
--- a/
drivers/net/hinic/base/hinic_pmd_eqs.c
+++ b/
drivers/net/hinic/base/hinic_pmd_eqs.c
@@
-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],
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;
if (!eq->virt_addr[pg_num]) {
err = -ENOMEM;
goto dma_alloc_err;