DPDK  17.05.2
Data Fields
rte_table_hash_lru_params Struct Reference

#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

Detailed Description

LRU hash table parameters

Definition at line 146 of file rte_table_hash.h.

Field Documentation

uint32_t key_size

Key size (number of bytes)

Definition at line 148 of file rte_table_hash.h.

uint32_t n_keys

Maximum number of keys

Definition at line 151 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 154 of file rte_table_hash.h.

Hash function

Definition at line 157 of file rte_table_hash.h.

uint64_t seed

Seed value for the hash function

Definition at line 160 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 165 of file rte_table_hash.h.

uint32_t key_offset

Byte offset within packet meta-data where the key is located

Definition at line 168 of file rte_table_hash.h.


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