Home
last modified time | relevance | path

Searched refs:bucket_mask (Results 1 – 10 of 10) sorted by relevance

/f-stack/dpdk/lib/librte_member/
H A Drte_member_ht.c108 ss->bucket_mask = num_buckets - 1; in rte_member_create_ht()
161 *prim_bkt = sec_hash & ss->bucket_mask; in get_buckets_index()
162 *sec_bkt = (sec_hash >> 16) & ss->bucket_mask; in get_buckets_index()
164 *prim_bkt = sec_hash & ss->bucket_mask; in get_buckets_index()
165 *sec_bkt = (*prim_bkt ^ *sig) & ss->bucket_mask; in get_buckets_index()
409 next_bucket_idx = (bkt->sigs[i] ^ bkt_idx) & ss->bucket_mask; in make_space_bucket()
437 next_bucket_idx = (bkt->sigs[i] ^ bkt_idx) & ss->bucket_mask; in make_space_bucket()
H A Drte_member.h127 uint32_t bucket_mask; /* Bit mask to get bucket index. */ member
/f-stack/dpdk/lib/librte_table/
H A Drte_table_hash_lru.c63 uint64_t bucket_mask; member
224 t->bucket_mask = t->n_buckets - 1; in rte_table_hash_lru_create()
285 bkt_index = sig & t->bucket_mask; in rte_table_hash_lru_entry_add()
369 bkt_index = sig & t->bucket_mask; in rte_table_hash_lru_entry_delete()
427 bkt_index = sig & t->bucket_mask; in rte_table_hash_lru_lookup_unoptimized()
658 uint64_t bucket_mask = t->bucket_mask; \
667 bkt10_index = sig10 & bucket_mask; \
673 bkt11_index = sig11 & bucket_mask; \
H A Drte_table_hash_ext.c83 uint64_t bucket_mask; member
247 t->bucket_mask = t->n_buckets - 1; in rte_table_hash_ext_create()
310 bkt_index = sig & t->bucket_mask; in rte_table_hash_ext_entry_add()
411 bkt_index = sig & t->bucket_mask; in rte_table_hash_ext_entry_delete()
491 bkt_index = sig & t->bucket_mask; in rte_table_hash_ext_lookup_unoptimized()
720 uint64_t bucket_mask = t->bucket_mask; \
729 bkt10_index = sig10 & bucket_mask; \
735 bkt11_index = sig11 & bucket_mask; \
H A Drte_table_hash_key16.c690 uint64_t pkt_mask, bucket_mask; \
704 bucket_mask = (~pkt_mask) & (bucket2->next_valid << pkt2_index);\
705 buckets_mask |= bucket_mask; \
716 uint64_t pkt_mask, bucket_mask; \
731 bucket_mask = (~pkt_mask) & (bucket->next_valid << pkt_index);\
732 buckets_mask |= bucket_mask; \
H A Drte_table_hash_key8.c660 uint64_t pkt_mask, bucket_mask; \
674 bucket_mask = (~pkt_mask) & (bucket2->next_valid << pkt2_index);\
675 buckets_mask |= bucket_mask; \
686 uint64_t pkt_mask, bucket_mask; \
701 bucket_mask = (~pkt_mask) & (bucket->next_valid << pkt_index);\
702 buckets_mask |= bucket_mask; \
H A Drte_table_hash_key32.c719 uint64_t pkt_mask, bucket_mask; \
733 bucket_mask = (~pkt_mask) & (bucket2->next_valid << pkt2_index);\
734 buckets_mask |= bucket_mask; \
745 uint64_t pkt_mask, bucket_mask; \
761 bucket_mask = (~pkt_mask) & (bucket->next_valid << pkt_index);\
762 buckets_mask |= bucket_mask; \
/f-stack/dpdk/lib/librte_hash/
H A Drte_fbk_hash.h76 uint32_t bucket_mask; /**< To find which bucket the key is in. */ member
98 return (ht->hash_func(key, ht->init_val) & ht->bucket_mask) << in rte_fbk_hash_get_bucket()
H A Drte_fbk_hash.c149 ht->bucket_mask = (params->entries / params->entries_per_bucket) - 1; in rte_fbk_hash_create()
/f-stack/dpdk/doc/guides/prog_guide/
H A Dpacket_framework.rst320 considering *n_bits* as the number of bits set in *bucket_mask = n_buckets - 1*,