> On Jan 7, 2018, at 5:55 PM, Jianbo Liu <jianbo....@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