DPDK
2.0.0
|
#include <rte_table_hash.h>
Data Fields | |
uint32_t | key_size |
uint32_t | n_keys |
uint32_t | n_buckets |
rte_table_hash_op_hash | f_hash |
uint64_t | seed |
uint32_t | signature_offset |
uint32_t | key_offset |
LRU hash table parameters
rte_table_hash_op_hash f_hash |
Hash function
uint32_t key_offset |
Byte offset within packet meta-data where the key is located
uint32_t key_size |
Key size (number of bytes)
uint32_t n_buckets |
Number of hash table buckets. Each bucket stores up to 4 keys.
uint32_t n_keys |
Maximum number of keys
uint64_t seed |
Seed value for the hash function
uint32_t signature_offset |
Byte offset within packet meta-data where the 4-byte key signature
is located. Valid for pre-computed key signature tables, ignored for do-sig tables.