DPDK  16.04.0
Data Fields
rte_table_hash_key8_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:
ip_pipeline/pipeline/pipeline_flow_classification_be.c, and ip_pipeline/pipeline/pipeline_routing_be.c.

Definition at line 211 of file rte_table_hash.h.

Field Documentation

uint32_t n_entries

Maximum number of entries (and keys) in the table

Examples:
ip_pipeline/pipeline/pipeline_flow_classification_be.c, and ip_pipeline/pipeline/pipeline_routing_be.c.

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

Hash function

Definition at line 220 of file rte_table_hash.h.

uint64_t seed

Seed for the hash function

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

uint32_t key_offset

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

Definition at line 231 of file rte_table_hash.h.

uint8_t* key_mask

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

Examples:
ip_pipeline/pipeline/pipeline_flow_classification_be.c.

Definition at line 234 of file rte_table_hash.h.


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