]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/enic/enic_main.c
enic: fix allocation when not using first numa node
[dpdk.git] / drivers / net / enic / enic_main.c
index 398ada24885e0a1fc0611c5945bd7a2e2ac6a620..c3c62c45d0105858e227d52a6eb28d9b0c51f53f 100644 (file)
@@ -538,7 +538,7 @@ enic_alloc_consistent(__rte_unused void *priv, size_t size,
        *dma_handle = 0;
 
        rz = rte_memzone_reserve_aligned((const char *)name,
-               size, 0, 0, ENIC_ALIGN);
+                                        size, SOCKET_ID_ANY, 0, ENIC_ALIGN);
        if (!rz) {
                pr_err("%s : Failed to allocate memory requested for %s",
                        __func__, name);