eal: remove dead code on NUMA node detection
authorDavid Marchand <david.marchand@redhat.com>
Tue, 22 Oct 2019 19:34:17 +0000 (21:34 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 24 Oct 2019 12:15:28 +0000 (14:15 +0200)
commit8e35792c5325f9fd2cb7cfab507aa23fc956ced7
treeb2ed8338050087e7d0789f269e9b227998ce966d
parented5d3d5cdb4d19262e9c5face0a11129f090a485
eal: remove dead code on NUMA node detection

RTE_EAL_ALLOW_INV_SOCKET_ID had been introduced and documented as used
with xen dom0 support (dropped for some time now).

Closely looking at this, the code was changed later and ensures that the
socket id is in the [0..RTE_MAX_NUMA_NODES] range anyway.

Let's drop this dead code and the build option with it.

Fixes: 94ef2964148a ("eal/linux: fix numa node detection")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
config/common_base
config/meson.build
lib/librte_eal/common/eal_common_lcore.c