lib/librte_table: add hash function headers
authorKevin Laatz <kevin.laatz@intel.com>
Tue, 25 Sep 2018 15:32:28 +0000 (16:32 +0100)
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>
Fri, 12 Oct 2018 15:58:53 +0000 (17:58 +0200)
commitea7be0a0386e1bc2cd0686aedd27c034f54fed53
tree0bfd0112e5649e2b370beaff5ad87fed40cdd47d
parent44cad685eee345e413497da327a33a9ef2af4c53
lib/librte_table: add hash function headers

This commit adds rte_table_hash_func.h and rte_table_hash_func_arm64.h to
librte_table. This reduces code duplication by removing duplicate header
files within two folders and consolidating them into a single one. This
also adds a scalar implementation of the x86_64 intrinsic for crc32 as a
generic fallback.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: Gavin Hu <gavin.hu@arm.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
lib/librte_table/Makefile
lib/librte_table/meson.build
lib/librte_table/rte_table_hash_func.h [new file with mode: 0644]
lib/librte_table/rte_table_hash_func_arm64.h [new file with mode: 0644]