enic: fix hash creation when not using first numa node
authorDavid Marchand <david.marchand@6wind.com>
Fri, 11 Sep 2015 08:02:31 +0000 (10:02 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 20 Oct 2015 19:32:06 +0000 (21:32 +0200)
commit922a5466c10024e8d1599deb0f4754fca1165ea7
tree921aa77916f41d9e32cb4004fdd85247901ce0bf
parent7a0b8b7cab6ac63d52ebc6fdc252c7fa5a70330d
enic: fix hash creation when not using first numa node

If dpdk is run with memory only available on socket != 0, then hash
creation will fail and flow director feature won't be available.
Fix this by asking for allocation on caller socket.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked by: Sujith Sankar <ssujith@cisco.com>
drivers/net/enic/enic_clsf.c