On Tue, Jun 25, 2019 at 5:51 PM Anatoly Burakov <anatoly.bura...@intel.com> wrote:
> 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: sta...@dpdk.org > > Signed-off-by: Anatoly Burakov <anatoly.bura...@intel.com> > --- > lib/librte_eal/freebsd/eal/eal.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/lib/librte_eal/freebsd/eal/eal.c > b/lib/librte_eal/freebsd/eal/eal.c > index 4eaa53195..8c399c799 100644 > --- a/lib/librte_eal/freebsd/eal/eal.c > +++ b/lib/librte_eal/freebsd/eal/eal.c > @@ -566,6 +566,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. */ > -- > 2.17.1 > Reviewed-by: David Marchand <david.march...@redhat.com> -- David Marchand