net: implement CRC for ARM64 NEON
authorAshwin Sekhar T K <ashwin.sekhar@caviumnetworks.com>
Tue, 4 Jul 2017 09:24:07 +0000 (02:24 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 4 Jul 2017 13:58:45 +0000 (15:58 +0200)
commita566400e8b73ec646e0cc6dd0bc44def8535fb98
treefdded86716ddabeb0d8d8528db41a304499e8fb1
parent266451e4190eac8425c50de12b67b484da70c9bc
net: implement CRC for ARM64 NEON

Added CRC compute APIs for arm64 utilizing the pmull
capability.

Added new file net_crc_neon.h to hold the arm64 pmull
CRC implementation.

Added wrappers in rte_vect.h for those neon intrinsics
which are not supported in GCC version < 7.

Verified the changes with crc_autotest unit test case

Signed-off-by: Ashwin Sekhar T K <ashwin.sekhar@caviumnetworks.com>
Acked-by: Jianbo Liu <jianbo.liu@linaro.org>
MAINTAINERS
lib/librte_eal/common/include/arch/arm/rte_vect.h
lib/librte_net/net_crc_neon.h [new file with mode: 0644]
lib/librte_net/rte_net_crc.c
lib/librte_net/rte_net_crc.h
test/test/test_crc.c