[PATCH 3/3] net/ionic: add vdev support for embedded applications
Ferruh Yigit
ferruh.yigit at amd.com
Tue Feb 20 09:28:18 CET 2024
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?
More information about the dev
mailing list