examples/l3fwd: remove useless calculations in NEON LPM
authorRuifeng Wang <ruifeng.wang@arm.com>
Thu, 10 Jun 2021 06:57:39 +0000 (06:57 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 5 Jul 2021 09:30:58 +0000 (11:30 +0200)
commitd76d65060c31900959c8b42f958da6441603e660
tree9fac0ead642d975d4f796feb018e8eb0a6f05a6a
parenta906371d2758df7260640873d93f888724759448
examples/l3fwd: remove useless calculations in NEON LPM

Both L2 and L3 headers will be used in forward processing. And these
two headers are in the same cache line. It has the same effect for
prefetching with L2 header address and prefetching with L3 header
address.

Changed to use L2 header address for prefetching. The change showed
no measurable performance improvement, but it definitely removed
unnecessary instructions for address calculation.

Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
examples/l3fwd/l3fwd_lpm_neon.h