Hello, 13/11/2024 10:28, Howard Wang: > +static u32 > +rtl_get_opts1(struct rtl_tx_desc *txd) > +{ > + rte_smp_rmb(); > + > + return rte_le_to_cpu_32(txd->opts1); > +}
We should avoid using such heavy memory barrier. Is it possible to use a lighter fence or atomic API?