[dpdk-dev] [PATCH 1/2] eal/arm64: modify I/O device memory barriers

Yongseok Koh yskoh at mellanox.com
Tue Jan 16 01:42:59 CET 2018


> On Jan 7, 2018, at 5:55 PM, Jianbo Liu <Jianbo.Liu at arm.com> wrote:
> 
> The 12/26/2017 20:28, Yongseok Koh wrote:
>> Instead of using system-wide 'dsb' instruction for IO barriers, 'dmb' is
>> sufficient and could bring better performance. Using 'dmb' with Outer
>> Shareable Domain option is also consistent with linux kernel.
> 
> But in kernel dsb is used for io barriers.
> Do you consider adding dma_*mb?

Right. I'll send out a patchset, which adds rte_dma_rmb/wmb() today.

Thanks
Yongseok


More information about the dev mailing list