DPDK  17.05.2
Data Fields
rte_table_hash_key16_ext_params Struct Reference

#include <rte_table_hash.h>

Data Fields

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

Detailed Description

Extendible bucket hash table parameters

Examples:
examples/ip_pipeline/pipeline/pipeline_flow_classification_be.c.

Definition at line 279 of file rte_table_hash.h.

Field Documentation

uint32_t n_entries

Maximum number of entries (and keys) in the table

Examples:
examples/ip_pipeline/pipeline/pipeline_flow_classification_be.c.

Definition at line 281 of file rte_table_hash.h.

uint32_t n_entries_ext
Number of entries (and keys) for hash table bucket extensions. Each

bucket is extended in increments of 4 keys.

Definition at line 285 of file rte_table_hash.h.

Hash function

Definition at line 288 of file rte_table_hash.h.

uint64_t seed

Seed for the hash function

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

uint32_t key_offset

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

Definition at line 299 of file rte_table_hash.h.

uint8_t* key_mask

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

Examples:
examples/ip_pipeline/pipeline/pipeline_flow_classification_be.c.

Definition at line 302 of file rte_table_hash.h.


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