From: Anatoly Burakov Date: Thu, 27 Jun 2019 11:33:45 +0000 (+0100) Subject: eal/freebsd: fix init completion X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9c8a35a572e6742eac84042bcc645269b50a0e55;p=dpdk.git eal/freebsd: fix init completion When init is complete, EAL is supposed to update internal config to indicate that initialization is complete. Add missing write. Fixes: a99c96e96ad3 ("eal: add internal flag of init completed") Cc: stable@dpdk.org Signed-off-by: Anatoly Burakov Reviewed-by: David Marchand --- diff --git a/lib/librte_eal/freebsd/eal/eal.c b/lib/librte_eal/freebsd/eal/eal.c index a3d4863c81..b10e257dfe 100644 --- a/lib/librte_eal/freebsd/eal/eal.c +++ b/lib/librte_eal/freebsd/eal/eal.c @@ -594,6 +594,8 @@ rte_eal_mcfg_complete(void) /* ALL shared mem_config related INIT DONE */ if (rte_config.process_type == RTE_PROC_PRIMARY) rte_config.mem_config->magic = RTE_MAGIC; + + internal_config.init_complete = 1; } /* return non-zero if hugepages are enabled. */