eal: unify wait for complete init
authorAnatoly Burakov <anatoly.burakov@intel.com>
Fri, 5 Jul 2019 13:10:33 +0000 (14:10 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 6 Jul 2019 08:32:40 +0000 (10:32 +0200)
commit00299d39606d803a1e24b83aac8249408e8b1a4c
treeb9cc016711bf32cbcac524919940ea746ce9975f
parenta08a5dd20e51100792a5bf55b33088837055520c
eal: unify wait for complete init

Currently, mcfg completion function exists in two independent
implementations doing the same thing, which is bug prone.
Unify the two functions and move them into one place.

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