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

2018-01-18 Thread Yongseok Koh
> On Jan 18, 2018, at 3:56 AM, Andrew Rybchenko > wrote: > > On 01/17/2018 09:39 PM, Yongseok Koh wrote: >>> On Jan 17, 2018, at 5:46 AM, Thomas Monjalon wrote: >>> >>> 16/01/2018 10:10, Jianbo Liu: The 01/16/2018 10:49, Andrew Rybchenko wrote: > On 01/16/2018 04:10 AM, Yongseok Koh

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

2018-01-18 Thread Andrew Rybchenko
On 01/17/2018 09:39 PM, Yongseok Koh wrote: On Jan 17, 2018, at 5:46 AM, Thomas Monjalon wrote: 16/01/2018 10:10, Jianbo Liu: The 01/16/2018 10:49, Andrew Rybchenko wrote: On 01/16/2018 04:10 AM, Yongseok Koh wrote: This commit introduces rte_dma_wmb() and rte_dma_rmb(), in order to guarante

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

2018-01-17 Thread Yongseok Koh
> On Jan 17, 2018, at 5:46 AM, Thomas Monjalon wrote: > > 16/01/2018 10:10, Jianbo Liu: >> The 01/16/2018 10:49, Andrew Rybchenko wrote: >>> On 01/16/2018 04:10 AM, Yongseok Koh wrote: This commit introduces rte_dma_wmb() and rte_dma_rmb(), in order to guarantee the ordering of coheren

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

2018-01-17 Thread Thomas Monjalon
16/01/2018 10:10, Jianbo Liu: > The 01/16/2018 10:49, Andrew Rybchenko wrote: > > On 01/16/2018 04:10 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.

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

2018-01-16 Thread Jianbo Liu
The 01/16/2018 10:49, Andrew Rybchenko wrote: > On 01/16/2018 04:10 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 > >

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

2018-01-15 Thread Andrew Rybchenko
On 01/16/2018 04:10 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 --- lib/librte_eal/common/include/generic/rte_atomic.h | 18 ++

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

2018-01-15 Thread Jianbo Liu
The 01/15/2018 17:10, 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: Jianbo Liu > --- > lib/librte_eal/common/incl