DPDK
16.04.0
|
#include <rte_table_hash.h>
Data Fields | |
uint32_t | key_size |
uint32_t | n_keys |
uint32_t | n_buckets |
uint32_t | n_buckets_ext |
rte_table_hash_op_hash | f_hash |
uint64_t | seed |
uint32_t | signature_offset |
uint32_t | key_offset |
Hash tables with configurable key sizeExtendible bucket hash table parameters
Definition at line 109 of file rte_table_hash.h.
uint32_t key_size |
Key size (number of bytes)
Definition at line 111 of file rte_table_hash.h.
uint32_t n_keys |
Maximum number of keys
Definition at line 114 of file rte_table_hash.h.
uint32_t n_buckets |
Number of hash table buckets. Each bucket stores up to 4 keys.
Definition at line 117 of file rte_table_hash.h.
uint32_t n_buckets_ext |
Number of hash table bucket extensions. Each bucket extension has
space for 4 keys and each bucket can have 0, 1 or more extensions.
Definition at line 121 of file rte_table_hash.h.
rte_table_hash_op_hash f_hash |
Hash function
Definition at line 124 of file rte_table_hash.h.
uint64_t seed |
Seed value for the hash function
Definition at line 127 of file rte_table_hash.h.
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.
Definition at line 132 of file rte_table_hash.h.
uint32_t key_offset |
Byte offset within packet meta-data where the key is located
Definition at line 135 of file rte_table_hash.h.