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

Luca Boccassi bluca at debian.org
Tue Jan 7 12:27:10 CET 2020


On Fri, 2020-01-03 at 12:13 +0100, David Marchand wrote:
> [ upstream commit 8e35792c5325f9fd2cb7cfab507aa23fc956ced7 ]
> 
> 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")
> 
> Acked-by: Stephen Hemminger <stephen at networkplumber.org>
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
>  config/common_base                       |  1 -
>  lib/librte_eal/common/eal_common_lcore.c | 11 -----------
>  2 files changed, 12 deletions(-)

Thanks, applied

-- 
Kind regards,
Luca Boccassi


More information about the stable mailing list