eal: disable NUMA related warnings on non-NUMA systems
authorHemant Agrawal <hemant.agrawal@nxp.com>
Mon, 24 Jul 2017 09:20:27 +0000 (14:50 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 30 Jul 2017 21:29:17 +0000 (23:29 +0200)
commiteedbb9a10318b50ceae6eb80676abdff2b1b1f4b
treea44e599f4a77ac24e4775acf4c699e541ba9807c
parent41dae1e0912b3769c559cadb7dfeafb71ede48e1
eal: disable NUMA related warnings on non-NUMA systems

Disable multiple NUMA warnings on non-NUMA systems.

"EAL: eal_parse_sysfs_value(): cannot open sysfs value
/sys/bus/pci/devices/0000:00:00.0/numa_node
EAL: numa_node is invalid or not present. Set it 0 as default
EAL: cannot open /proc/self/numa_maps, consider that all memory is
in socket_id 0"

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Tested-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
lib/librte_eal/linuxapp/eal/eal_memory.c
lib/librte_eal/linuxapp/eal/eal_pci.c