DPDK  16.04.0
Data Fields
rte_table_hash_key8_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

8-byte key hash tablesLRU hash table parameters

Definition at line 182 of file rte_table_hash.h.

Field Documentation

uint32_t n_entries

Maximum number of entries (and keys) in the table

Definition at line 184 of file rte_table_hash.h.

Hash function

Definition at line 187 of file rte_table_hash.h.

uint64_t seed

Seed for the hash function

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

uint32_t key_offset

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

Definition at line 198 of file rte_table_hash.h.

uint8_t* key_mask

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

Definition at line 201 of file rte_table_hash.h.


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