DPDK
2.2.0
|
#include <rte_fbk_hash.h>
Data Fields | |
char | name [RTE_FBK_HASH_NAMESIZE] |
uint32_t | entries |
uint32_t | entries_per_bucket |
uint32_t | used_entries |
uint32_t | bucket_mask |
uint32_t | bucket_shift |
rte_fbk_hash_fn | hash_func |
uint32_t | init_val |
union rte_fbk_hash_entry | t [0] |
The four-byte key hash table structure.
Definition at line 107 of file rte_fbk_hash.h.
char name[RTE_FBK_HASH_NAMESIZE] |
Name of the hash.
Definition at line 108 of file rte_fbk_hash.h.
uint32_t entries |
Total number of entries.
Definition at line 109 of file rte_fbk_hash.h.
uint32_t entries_per_bucket |
Number of entries in a bucket.
Definition at line 110 of file rte_fbk_hash.h.
uint32_t used_entries |
How many entries are used.
Definition at line 111 of file rte_fbk_hash.h.
uint32_t bucket_mask |
To find which bucket the key is in.
Definition at line 112 of file rte_fbk_hash.h.
uint32_t bucket_shift |
Convert bucket to table offset.
Definition at line 113 of file rte_fbk_hash.h.
rte_fbk_hash_fn hash_func |
The hash function.
Definition at line 114 of file rte_fbk_hash.h.
uint32_t init_val |
For initialising hash function.
Definition at line 115 of file rte_fbk_hash.h.
union rte_fbk_hash_entry t[0] |
A flat table of all buckets.
Definition at line 118 of file rte_fbk_hash.h.