hash: add reset function
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Sat, 11 Jul 2015 00:18:51 +0000 (01:18 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 12 Jul 2015 22:15:03 +0000 (00:15 +0200)
commitb26473ff8f4a5d691869a8a35c2fa1e9840e82b9
tree83a8eef7b9e8b6f2144911b48e707007de11288f
parent48a399119619fefc9d68fcc3f8d98adc33913fa2
hash: add reset function

Added reset function to be able to empty the table,
without having to destroy and create it again.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
app/test/test_hash.c
app/test/test_hash_perf.c
lib/librte_hash/rte_cuckoo_hash.c
lib/librte_hash/rte_hash.h
lib/librte_hash/rte_hash_version.map