[dpdk-dev] [PATCH 1/2] enic: fix allocation when not using first numa node

2015-09-11 Thread David Marchand
Seen by code review. If dpdk is run with memory only available on socket != 0, then enic pmd refuses to initialize ports as this pmd requires some memory on socket 0. Fix this by setting socket to SOCKET_ID_ANY, so that allocations happen on the caller socket. Signed-off-by: David Marchand ---

[dpdk-dev] [PATCH 1/2] enic: fix allocation when not using first numa node

2015-09-11 Thread Sujith Sankar (ssujith)
On 11/09/15 1:32 pm, "David Marchand" wrote: >Seen by code review. > >If dpdk is run with memory only available on socket != 0, then enic pmd >refuses to initialize ports as this pmd requires some memory on socket 0. >Fix this by setting socket to SOCKET_ID_ANY, so that allocations happen on