eal: add internal flag of init completed
authorAnatoly Burakov <anatoly.burakov@intel.com>
Tue, 13 Mar 2018 17:42:35 +0000 (17:42 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 21 Mar 2018 17:42:34 +0000 (18:42 +0100)
commita99c96e96ad3887d30a154548353cca5ee91c8e9
tree79a6063dfd3196595cfbc3cc0e6d410b8f8022d9
parentda5957821bdd684a50dcb639fb7798936fb2d981
eal: add internal flag of init completed

Currently, primary process initialization is finalized by setting
the RTE_MAGIC value in the shared config. However, it is not
possible to check whether secondary process initialization has
completed. Add such a value to internal config.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eal/common/eal_common_options.c
lib/librte_eal/common/eal_internal_cfg.h
lib/librte_eal/linuxapp/eal/eal.c