hash: add iterate function
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Sat, 11 Jul 2015 00:18:53 +0000 (01:18 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 12 Jul 2015 22:18:41 +0000 (00:18 +0200)
commitf9edbc9bb6bcd4a0b7d2cf119200005fe754be5f
tree17cb7467ed4b8c78417a856aaad3f593d344c95c
parent473d1bebce43d9c08b8195c45ff022fb26bca594
hash: add iterate function

Since now rte_hash structure is private, a new function
has been added to let the user iterate through the hash table,
returning next key and data associated on each iteration,
plus the position where they were stored.

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
lib/librte_hash/rte_cuckoo_hash.c
lib/librte_hash/rte_hash.h
lib/librte_hash/rte_hash_version.map