On Wed, 19 Feb 2025 12:47:11 +0000 Wei Hu <w...@microsoft.com> wrote:
> > > > -/* Shared data between primary/secondary processes */ struct > > mana_shared_data { > > - rte_spinlock_t lock; > > - int init_done; > > - unsigned int primary_cnt; > > - unsigned int secondary_cnt; > > + rte_atomic32_t secondary_cnt; > > }; The DPDK has converted to using the C11 atomic's so this should use that (i.e RTE_ATOMIC() etc) instead of the older atomic primitives.