numam-dpdk/lib/librte_hash
Masoud Hasanifard 8331c64847 hash: fix custom compare
Set cmp_jump_table_idx to KEY_CUSTOM in rte_hash_cmp_eq so that the custom
function we are setting in rte_hash_set_cmp_func properly works. The custom
function is only called by rte_hash_cmp_eq if cmp_jump_table_idx is set to
KEY_CUSTOM.

Fixes: 95da2f8e9c ("hash: customize compare function")

Signed-off-by: Masoud Hasanifard <masoudhasanifard@gmail.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2016-09-22 17:38:17 +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: fix custom compare 2016-09-22 17:38:17 +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 lib: use C99 syntax for zero-size arrays 2016-09-13 15:35:28 +02: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 lib: work around unnamed structs/unions 2016-09-13 15:35:28 +02:00