Searched refs:MEMBER_HASH_FUNC (Results 1 – 3 of 3) sorted by relevance
| /f-stack/dpdk/lib/librte_member/ |
| H A D | rte_member_vbf.c | 166 uint32_t h1 = MEMBER_HASH_FUNC(key, ss->key_len, ss->prim_hash_seed); in rte_member_lookup_vbf() 167 uint32_t h2 = MEMBER_HASH_FUNC(&h1, sizeof(uint32_t), in rte_member_lookup_vbf() 197 h1[i] = MEMBER_HASH_FUNC(keys[i], ss->key_len, in rte_member_lookup_bulk_vbf() 200 h2[i] = MEMBER_HASH_FUNC(&h1[i], sizeof(uint32_t), in rte_member_lookup_bulk_vbf() 226 uint32_t h1 = MEMBER_HASH_FUNC(key, ss->key_len, ss->prim_hash_seed); in rte_member_lookup_multi_vbf() 227 uint32_t h2 = MEMBER_HASH_FUNC(&h1, sizeof(uint32_t), in rte_member_lookup_multi_vbf() 261 h1[i] = MEMBER_HASH_FUNC(keys[i], ss->key_len, in rte_member_lookup_multi_bulk_vbf() 264 h2[i] = MEMBER_HASH_FUNC(&h1[i], sizeof(uint32_t), in rte_member_lookup_multi_bulk_vbf() 300 h1 = MEMBER_HASH_FUNC(key, ss->key_len, ss->prim_hash_seed); in rte_member_add_vbf() 301 h2 = MEMBER_HASH_FUNC(&h1, sizeof(uint32_t), ss->sec_hash_seed); in rte_member_add_vbf()
|
| H A D | rte_member.h | 73 #define MEMBER_HASH_FUNC rte_hash_crc macro 76 #define MEMBER_HASH_FUNC rte_jhash macro
|
| H A D | rte_member_ht.c | 134 uint32_t first_hash = MEMBER_HASH_FUNC(key, ss->key_len, in get_buckets_index() 136 uint32_t sec_hash = MEMBER_HASH_FUNC(&first_hash, sizeof(uint32_t), in get_buckets_index()
|