mem: warn user when running without NUMA support
authorAnatoly Burakov <anatoly.burakov@intel.com>
Fri, 29 Mar 2019 14:01:29 +0000 (14:01 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 29 Mar 2019 23:13:04 +0000 (00:13 +0100)
commit23d5455517568966ca8cac216941128ed3d3a455
tree92015dd81be3fb2ba60537190599ef626abd4a71
parent76f8486e166d6aa0504bda54d034b2bda5fe0a28
mem: warn user when running without NUMA support

Running in non-legacy mode on a NUMA-enabled system without libnuma
is unsupported, so explicitly print out a warning when trying to
do so.

Running in legacy mode without libnuma is still supported whether or
not we are running with libnuma support enabled, so also fix init to
allow that scenario.

Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/common/eal_options.h
lib/librte_eal/linux/eal/eal_memalloc.c
lib/librte_eal/linux/eal/eal_memory.c