[dpdk-dev] [PATCH v7 2/7] hash: add new function rte_hash_reset

2015-07-13 Thread Thomas Monjalon
2015-07-11 01:18, Pablo de Lara: > --- a/lib/librte_hash/rte_hash_version.map > +++ b/lib/librte_hash/rte_hash_version.map > @@ -18,3 +18,11 @@ DPDK_2.0 { > > local: *; > }; > + > +DPDK_2.1 { > + global: > + > + rte_hash_reset; > + > + local: *; > +} DPDK_2.0; The loca

[dpdk-dev] [PATCH v7 2/7] hash: add new function rte_hash_reset

2015-07-11 Thread Pablo de Lara
Added reset function to be able to empty the table, without having to destroy and create it again. Signed-off-by: Pablo de Lara --- app/test/test_hash.c | 4 +--- app/test/test_hash_perf.c| 12 +++- lib/librte_hash/rte_cuckoo_hash.c| 21 ++