On Wed, 29 May 2019 17:31:11 +0100 Anatoly Burakov <anatoly.bura...@intel.com> wrote:
> +static inline void > +rte_eal_mcfg_wait_complete(struct rte_mem_config *mcfg) > +{ > + /* wait until shared mem_config finish initialising */ > + while (mcfg->magic != RTE_MAGIC) > + rte_pause(); > +} > Not fast path, why is this inline? > +#endif // EAL_MEMCFG_H Avoid C++ style comments.