eal: unify internal config init
authorAnatoly Burakov <anatoly.burakov@intel.com>
Fri, 5 Jul 2019 13:10:34 +0000 (14:10 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 6 Jul 2019 08:32:40 +0000 (10:32 +0200)
commitb39fcd956969e9fcf7033dcbd2a7c05deeaa7010
treeff10f7dac6af38948ccf06a05dc66789b93f5f7d
parent00299d39606d803a1e24b83aac8249408e8b1a4c
eal: unify internal config init

Currently, each EAL will update internal/shared config in their
own way at init, resulting in needless duplication of code and
OS-dependent behavior. Move the functions to a common file and
add missing FreeBSD steps.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: David Marchand <david.marchand@redhat.com>
lib/librte_eal/common/eal_common_mcfg.c
lib/librte_eal/common/eal_memcfg.h
lib/librte_eal/freebsd/eal/eal.c
lib/librte_eal/linux/eal/eal.c