eal: do not cache lcore detection state
authorDavid Marchand <david.marchand@redhat.com>
Mon, 2 Dec 2019 15:42:01 +0000 (16:42 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 20 Jan 2020 23:55:49 +0000 (00:55 +0100)
commit9f1d16c3b782b148ea2ff43acedc3d21b9583545
treed50b92b073d82d4b9d2ef4566f949fc39bc93e9a
parentbe67d057590ca01362e32cded3a28ff20e0bd14e
eal: do not cache lcore detection state

We use this state in control path only for services cores and -c/-l
options.
The value is not updated when using --lcores.

Use the internal helper where needed.

Signed-off-by: David Marchand <david.marchand@redhat.com>
lib/librte_eal/common/eal_common_lcore.c
lib/librte_eal/common/eal_common_options.c
lib/librte_eal/common/eal_private.h