DPDK  2.0.0
Data Fields
rte_table_hash_ext_params Struct Reference

#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

Detailed Description

Hash tables with configurable key sizeExtendible bucket hash table parameters

Field Documentation

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_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.

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.


The documentation for this struct was generated from the following file: