numam-dpdk/examples/l3fwd
Guduri Prathyusha 3a4475e51d examples/l3fwd: fix NEON instructions
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: 569b290cdb ("examples/l3fwd: add NEON implementation")
Cc: stable@dpdk.org

Signed-off-by: Guduri Prathyusha <gprathyusha@caviumnetworks.com>
Acked-by: Jianbo Liu <jianbo.liu@arm.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
2017-11-07 08:50:57 +00:00
..
l3fwd_altivec.h examples/l3fwd: optimize packet processing on powerpc 2017-10-14 00:51:19 +02:00
l3fwd_common.h ethdev: increase port id range 2017-10-06 18:23:25 +02:00
l3fwd_em_hlm_neon.h examples/l3fwd: add NEON implementation 2017-07-04 17:41:53 +02:00
l3fwd_em_hlm_sse.h examples/l3fwd: reorganise multi hash lookup 2017-07-04 17:25:01 +02:00
l3fwd_em_hlm.h ethdev: increase port id range 2017-10-06 18:23:25 +02:00
l3fwd_em_sequential.h examples: fix port id type 2017-10-13 21:57:49 +02:00
l3fwd_em.c examples: fix port id type 2017-10-13 21:57:49 +02:00
l3fwd_em.h ethdev: increase port id range 2017-10-06 18:23:25 +02:00
l3fwd_lpm_altivec.h examples/l3fwd: optimize packet processing on powerpc 2017-10-14 00:51:19 +02:00
l3fwd_lpm_neon.h ethdev: increase port id range 2017-10-06 18:23:25 +02:00
l3fwd_lpm_sse.h ethdev: increase port id range 2017-10-06 18:23:25 +02:00
l3fwd_lpm.c examples/l3fwd: optimize packet processing on powerpc 2017-10-14 00:51:19 +02:00
l3fwd_lpm.h ethdev: increase port id range 2017-10-06 18:23:25 +02:00
l3fwd_neon.h examples/l3fwd: fix NEON instructions 2017-11-07 08:50:57 +00:00
l3fwd_sse.h examples/l3fwd: extract common code from multi packet send 2017-07-04 17:41:53 +02:00
l3fwd.h ethdev: increase port id range 2017-10-06 18:23:25 +02:00
main.c remove useless memzone includes 2017-11-06 22:12:08 +01:00
Makefile fix typos using codespell utility 2017-06-14 23:54:13 +02:00