table: add cuckoo hash
authorGuruprasad Rao <guruprasadx.rao@intel.com>
Thu, 22 Sep 2016 10:12:05 +0000 (03:12 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 12 Oct 2016 20:08:36 +0000 (22:08 +0200)
commit5a80bf0ae61356479cb90b3cfe0b9ac6a712af80
tree3d42273f6ce7621629553de891ef2145b1214801
parent94eaebad746b11c89a69cd7628b0addc5e85ad26
table: add cuckoo hash

This patch provides table apis for dosig version of cuckoo hash
via  rte_table_hash_cuckoo_dosig_ops

The following apis are implemented for cuckoo hash
rte_table_hash_cuckoo_create
rte_table_hash_cuckoo_free
rte_table_hash_cuckoo_entry_add
rte_table_hash_cuckoo_entry_delete
rte_table_hash_cuckoo_lookup_dosig
rte_table_hash_cuckoo_stats_read

Signed-off-by: Sankar Chokkalingam <sankarx.chokkalingam@intel.com>
Signed-off-by: Guruprasad Rao <guruprasadx.rao@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
lib/librte_table/Makefile
lib/librte_table/rte_table_hash.h
lib/librte_table/rte_table_hash_cuckoo.c [new file with mode: 0644]
lib/librte_table/rte_table_version.map