[dpdk-dev] [PATCH] eal: remove dead code on NUMA node detection

Stephen Hemminger stephen at networkplumber.org
Tue Oct 22 23:36:21 CEST 2019


On Tue, 22 Oct 2019 21:34:17 +0200
David Marchand <david.marchand at redhat.com> wrote:

> 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 at dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>

Acked-by: Stephen Hemminger <stephen at networkplumber.org>


More information about the dev mailing list