[dpdk-dev] [PATCH v6 1/6] eal: add internal flag indicating init has completed

Bruce Richardson bruce.richardson at intel.com
Tue Mar 13 21:59:20 CET 2018


On Tue, Mar 13, 2018 at 05:42:35PM +0000, Anatoly Burakov wrote:
> 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 at intel.com>
> ---
> 
> Notes:
>     v4: make init_complete volatile
>     
>     This patchset is dependent upon earlier IPC fixes patchset [1].
>     
>     [1] http://dpdk.org/dev/patchwork/bundle/aburakov/IPC_Fixes/
> 
>  lib/librte_eal/common/eal_common_options.c | 1 +
>  lib/librte_eal/common/eal_internal_cfg.h   | 2 ++
>  lib/librte_eal/linuxapp/eal/eal.c          | 2 ++
>  3 files changed, 5 insertions(+)
> 
Looks harmless to me :-)

Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list