eal/linux: fix socket value for undetermined numa node
authorCunming Liang <cunming.liang@intel.com>
Fri, 31 Jul 2015 01:36:12 +0000 (09:36 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 3 Aug 2015 17:22:42 +0000 (19:22 +0200)
The patch sets zero as the default value of pci device numa_node
if the socket could not be determined.
It provides the same default value as FreeBSD which has no NUMA support,
and makes the return value of rte_eth_dev_socket_id() be consistent
with the API description.

Signed-off-by: Cunming Liang <cunming.liang@intel.com>

No differences found