[dpdk-dev] [PATCH 1/2] eal:Introduce rte_dma_wmb/rte_dma_rmb.

2015-07-02 Thread Ananyev, Konstantin
Hi Dong, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of WangDong > Sent: Sunday, June 28, 2015 4:23 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 1/2] eal:Introduce rte_dma_wmb/rte_dma_rmb. > > These macro can be used to

[dpdk-dev] [PATCH 1/2] eal:Introduce rte_dma_wmb/rte_dma_rmb.

2015-07-02 Thread Ananyev, Konstantin
> -Original Message- > From: Ananyev, Konstantin > Sent: Thursday, July 02, 2015 4:52 PM > To: 'WangDong'; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH 1/2] eal:Introduce rte_dma_wmb/rte_dma_rmb. > > Hi Dong, > > > -Original Message--

[dpdk-dev] [PATCH 1/2] eal:Introduce rte_dma_wmb/rte_dma_rmb.

2015-06-28 Thread WangDong
These macro can be used to replace current PMD's compiler memory barrier (volatile varible) and rte_wmb. In x86, they implement to compiler memory barrier. In power, they implement to processor memory barrier. --- .../common/include/arch/ppc_64/rte_atomic.h| 4 .../common/include/a

[dpdk-dev] [PATCH 1/2] eal:Introduce rte_dma_wmb/rte_dma_rmb.

2015-06-28 Thread WangDong
These macro can be used to replace current PMD's compiler memory barrier (volatile varible) and rte_wmb. In x86, they implement to compiler memory barrier. In power, they implement to processor memory barrier. --- .../common/include/arch/ppc_64/rte_atomic.h| 4 .../common/include/a

[dpdk-dev] [PATCH 1/2] eal:Introduce rte_dma_wmb/rte_dma_rmb.

2015-07-06 Thread Wang Dong
t this patch. Dong > Hi Dong, > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of WangDong >> Sent: Sunday, June 28, 2015 4:23 PM >> To: dev at dpdk.org >> Subject: [dpdk-dev] [PATCH 1/2] eal:Introduce rte_dma_wmb/rte_dma_rmb. >