Re: [dpdk-dev] [PATCH v3 1/8] eal: introduce DMA memory barriers

2018-01-25 Thread Yongseok Koh
t; Jacob >> CC: Adrien Mazarguil , Nélio Laranjeiro >> , "bruce.richard...@intel.com" >> , "Ananyev, Konstantin" >> , Chao Zhu , >> "dev@dpdk.org" >> Subject: Re: [dpdk-dev] [PATCH v3 1/8] eal: introduce DMA memory barriers >> >> >

Re: [dpdk-dev] [PATCH v3 1/8] eal: introduce DMA memory barriers

2018-01-22 Thread Jerin Jacob
> , "Ananyev, Konstantin" > , Chao Zhu , > "dev@dpdk.org" > Subject: Re: [dpdk-dev] [PATCH v3 1/8] eal: introduce DMA memory barriers > > > > On Jan 18, 2018, at 11:16 PM, Andrew Rybchenko > > wrote: > > > > On 01/19/2018 03:44 AM, Yong

Re: [dpdk-dev] [PATCH v3 1/8] eal: introduce DMA memory barriers

2018-01-22 Thread Thomas Monjalon
22/01/2018 19:29, Yongseok Koh: > > On Jan 18, 2018, at 11:16 PM, Andrew Rybchenko > > wrote: > > Maybe it would be useful to: > > - avoid duplication of so long explanations (put in in one place and add > > reference?) > > May have to ask Thomas how to do this. Thomas? You can group barriers

Re: [dpdk-dev] [PATCH v3 1/8] eal: introduce DMA memory barriers

2018-01-22 Thread Yongseok Koh
> On Jan 18, 2018, at 11:16 PM, Andrew Rybchenko > wrote: > > On 01/19/2018 03:44 AM, Yongseok Koh wrote: >> This commit introduces rte_dma_wmb() and rte_dma_rmb(), in order to >> guarantee the ordering of coherent shared memory between the CPU and a DMA >> capable device. >> >> Signed-off-by:

Re: [dpdk-dev] [PATCH v3 1/8] eal: introduce DMA memory barriers

2018-01-18 Thread Andrew Rybchenko
On 01/19/2018 03:44 AM, Yongseok Koh wrote: This commit introduces rte_dma_wmb() and rte_dma_rmb(), in order to guarantee the ordering of coherent shared memory between the CPU and a DMA capable device. Signed-off-by: Yongseok Koh Acked-by: Andrew Rybchenko It is already really good. Many t