[PATCH v8 12/17] net/r8169: implement Tx path

Thomas Monjalon thomas at monjalon.net
Mon Nov 18 15:58:46 CET 2024


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?




More information about the dev mailing list