[dpdk-dev] [PATCH v2] examples/l3fwd: fix NEON instructions

Ferruh Yigit ferruh.yigit at intel.com
Tue Nov 7 09:05:00 CET 2017


On 11/2/2017 3:33 AM, Jerin Jacob wrote:
> -----Original Message-----
>> Date: Mon, 30 Oct 2017 15:36:15 +0800
>> From: Jianbo Liu <Jianbo.Liu at arm.com>
>> To: Guduri Prathyusha <gprathyusha at caviumnetworks.com>
>> CC: tomasz.kantecki at intel.com, guduriprathyusha at gmail.com, dev at dpdk.org
>> Subject: Re: [dpdk-dev] [PATCH v2] examples/l3fwd: fix NEON instructions
>> User-Agent: Mutt/1.5.21 (2010-09-15)
>>
>> The 10/30/2017 13:01, Guduri Prathyusha wrote:
>>> To group consecutive packets with same destination port in bursts of 4
>>> neon intrinsic data types dp1 and dp2 are calculated such that if
>>> dst_port[]={a,b,c,d,e,f,g,h,i...} dp1 should contain: <a,b,c,d> and
>>> dp2 should contain: <b,c,d,e> in the first iteration. dp1 should
>>> be <e,f,g,h> and dp2 should be <f,g,h,i> in the next iteration.
>>>
>>> Whereas the existing code incorrectly calculates dp1 as <d,e,f,g> from
>>> second iteration.
>>>
>>> This patch fixes the incorrect ARM NEON instructions on dp1.
>>>
>>> Fixes: 569b290cdb36 ("examples/l3fwd: add NEON implementation")
>>>
>>> Signed-off-by: Guduri Prathyusha <gprathyusha at caviumnetworks.com>
>>
>> Acked-by: Jianbo Liu <jianbo.liu at arm.com>
> 
> Acked-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>

Applied to dpdk/master, thanks.


More information about the dev mailing list