numam-dpdk/lib/librte_hash
Yari Adan Petralanda 6dc34e0afe hash: retrieve a key given its position
The function rte_hash_get_key_with_position is added in this patch.
As the position returned when adding a key is frequently used as an
offset into an array of user data, this function performs the operation
of retrieving a key given this offset.

A possible use case would be to delete a key from the hash table when
its entry in the array of data has certain value. For instance, the key
could be a flow 5-tuple, and the value stored in the array a time
stamp.

Signed-off-by: Juan Antonio Montesinos <juan.antonio.montesinos.delgado@ericsson.com>
Signed-off-by: Yari Adan Petralanda <yari.adan.petralanda@ericsson.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2016-07-10 14:56:45 +02:00
..
Makefile hash: use armv8-a CRC32 instructions 2015-11-25 22:13:15 +01:00
rte_cmp_arm64.h hash: replace libc memcmp with optimized functions for arm64 2015-11-25 22:11:37 +01:00
rte_cmp_x86.h remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
rte_crc_arm64.h hash: fix CRC32c computation 2016-03-01 14:37:26 +01:00
rte_cuckoo_hash_x86.h hash: add scalable multi-writer insertion with Intel TSX 2016-06-24 16:25:07 +02:00
rte_cuckoo_hash.c hash: retrieve a key given its position 2016-07-10 14:56:45 +02:00
rte_cuckoo_hash.h hash: add scalable multi-writer insertion with Intel TSX 2016-06-24 16:25:07 +02:00
rte_fbk_hash.c hash: fix allocation of an existing object 2016-04-06 17:30:48 +02:00
rte_fbk_hash.h hash: select CRC hash if armv8-a CRC extension available 2015-11-25 22:14:00 +01:00
rte_hash_crc.h hash: fix CRC32c computation 2016-03-01 14:37:26 +01:00
rte_hash_version.map hash: retrieve a key given its position 2016-07-10 14:56:45 +02:00
rte_hash.h hash: retrieve a key given its position 2016-07-10 14:56:45 +02:00
rte_jhash.h hash: fix header for C++ 2016-02-21 11:47:57 +01:00
rte_thash.h hash: fix build of toeplitz algorithm without SSE3 2015-07-30 02:15:32 +02:00