DPDK  17.02.1
Data Fields
rte_table_hash_key16_lru_params Struct Reference

#include <rte_table_hash.h>

Data Fields

uint32_t n_entries
rte_table_hash_op_hash f_hash
uint64_t seed
uint32_t signature_offset
uint32_t key_offset
uint8_t * key_mask

Detailed Description

16-byte key hash tablesLRU hash table parameters

Definition at line 249 of file rte_table_hash.h.

Field Documentation

uint32_t n_entries

Maximum number of entries (and keys) in the table

Definition at line 251 of file rte_table_hash.h.

Hash function

Definition at line 254 of file rte_table_hash.h.

uint64_t seed

Seed for the hash function

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

uint32_t key_offset

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

Definition at line 265 of file rte_table_hash.h.

uint8_t* key_mask

Bit-mask to be AND-ed to the key on lookup

Definition at line 268 of file rte_table_hash.h.


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