> On Wed, 15 Apr 2015 21:46:27 +0800
> Dong.Wang wrote:
>
>> Yes, current implementation works well with IA, and the transmit packets
>> function's rte_wmb() is also unneccessary.
>>
>> But there are two reasons for adding rte_wmb() in recv pkts function:
>> 1) The memory barrier in recv pkts func
>
>
>> -Original Message-
>> From: outlook_739db8e1c4bc6fae at outlook.com
>> [mailto:outlook_739db8e1c4bc6fae at outlook.com] On Behalf Of Dong.Wang
>> Sent: Wednesday, April 15, 2015 2:46 PM
>> To: Ananyev, Konstantin; dev at dpdk.org
>> Subject: Re: [dpdk-dev] [PATCH] ixgbe:Add write me
Hi Konstantin,
Yes, it's better to use rte_rmb/rte_wmb instead of their source code.
Actually, the warning is a bug, it lose a "}" of rte_dma_rmb(), I didn't
test it on PowerPC, so the bug didn't be found out before I submit the
patch, sorry.
I'll resubmit this patch.
Dong
> Hi Dong,
>
>>
Hi Konstantin,
> Hi Dong,
>
>> -Original Message-
>> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of WangDong
>> Sent: Tuesday, May 05, 2015 4:38 PM
>> To: dev at dpdk.org
>> Subject: [dpdk-dev] [PATCH] librte_eal:Using compiler memory barrier for IA
>> processor's rte_wmb/rte_rmb
Hi Konstantin,
>
> Hi Dong,
>
>> -Original Message-
>> From: Wang Dong [mailto:dong.wang.pro at hotmail.com]
>> Sent: Thursday, May 07, 2015 4:28 PM
>> To: Ananyev, Konstantin; dev at dpdk.org
>> Subject: Re: [dpdk-dev] [PATCH] librte_eal:U
> Hi Dong,
>
>> -Original Message-----
>> From: Wang Dong [mailto:dong.wang.pro at hotmail.com]
>> Sent: Saturday, May 09, 2015 11:24 AM
>> To: Ananyev, Konstantin; dev at dpdk.org
>> Subject: Re: [dpdk-dev] [PATCH] librte_eal:Using compiler memory ba
6 matches
Mail list logo