eal: add lcore accessors
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 31 May 2019 15:36:59 +0000 (17:36 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 3 Jun 2019 10:29:54 +0000 (12:29 +0200)
commit26cc3bbe4dc0c1f3ec06a58e7dd00b0180737bae
tree3c1cd14bc3e438e455d9b46e69a5808e95fbddac
parent3a1bb507349b4ef57879cacad315fb59450387cc
eal: add lcore accessors

The fields of the internal EAL core configuration are currently
laid bare as part of the API. This is not good practice and limits
fixing issues with layout and sizes.

Make new accessor functions for the fields used by current drivers
and examples.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David Marchand <david.marchand@redhat.com>
lib/librte_eal/common/eal_common_lcore.c
lib/librte_eal/common/include/rte_lcore.h
lib/librte_eal/rte_eal_version.map