hash: compile ARMv8 CRC32 support conditionally
authorAshwin Sekhar T K <ashwin.sekhar@caviumnetworks.com>
Fri, 12 May 2017 05:45:43 +0000 (22:45 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 3 Jul 2017 20:27:42 +0000 (22:27 +0200)
commitfa50d3b27a090eec975c966c3fc9d1f6df2adfa2
tree7134020287c11adb3f852fd602fb3698ca46099f
parent8d55ebcc78d82fd4ec72e4fa47fea62a9f2fe685
hash: compile ARMv8 CRC32 support conditionally

Compile the armv8a CRC32 support only if the machine
has the CRC extensions i.e if RTE_MACHINE_CPUFLAG_CRC32
is defined.

Removed the .arch assembly directives as these are no
more necessary.

Signed-off-by: Ashwin Sekhar T K <ashwin.sekhar@caviumnetworks.com>
Reviewed-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
lib/librte_hash/Makefile
lib/librte_hash/rte_crc_arm64.h
lib/librte_hash/rte_hash_crc.h