app/testpmd: optimize MAC swap for Arm
authorRuifeng Wang <ruifeng.wang@arm.com>
Tue, 12 Mar 2019 05:35:27 +0000 (13:35 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Mar 2019 17:15:42 +0000 (18:15 +0100)
commit0ef246a7e8df824d8cab041ffabf8b363904862e
tree18c8d702b590359dc86d8c08a6d8d35cb82103d7
parent618bbdab47ce0da7bcdb0c361fee2332fdca1fe4
app/testpmd: optimize MAC swap for Arm

Improved MAC swap performance for ARM platform.
The improvement was achieved by using neon intrinsics
to save CPU cycles and doing swap for four packets
at a time.
The optimization had 15% - 20% throughput boost
in testpmd MAC swap mode.

Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
app/test-pmd/macswap.c
app/test-pmd/macswap_neon.h [new file with mode: 0644]
doc/guides/rel_notes/release_19_05.rst