On 2/16/2024 5:07 PM, Andrew Boyer wrote:
> +#if defined(RTE_LIBRTE_IONIC_PMD_BARRIER_ERRATA)
> +     /* On some devices the standard 'dmb' barrier is insufficient */
> +     asm volatile("dsb st" : : : "memory");
> +     rte_write64_relaxed(rte_cpu_to_le_64(val), q->db);
> +#else
>       rte_write64(rte_cpu_to_le_64(val), q->db);
> +#endif
>

Hi Honnappa, Ruifeng,

Should we have an API for the above asm instruction? What do you think?

Reply via email to