DPDK  16.04.0
Data Fields
rte_table_hash_ext_params Struct Reference

#include <rte_table_hash.h>

Data Fields

uint32_t key_size
uint32_t n_keys
uint32_t n_buckets
uint32_t n_buckets_ext
rte_table_hash_op_hash f_hash
uint64_t seed
uint32_t signature_offset
uint32_t key_offset

Detailed Description

Hash tables with configurable key sizeExtendible bucket hash table parameters

Examples:
ip_pipeline/pipeline/pipeline_flow_classification_be.c.

Definition at line 109 of file rte_table_hash.h.

Field Documentation

uint32_t key_size

Key size (number of bytes)

Examples:
ip_pipeline/pipeline/pipeline_flow_classification_be.c.

Definition at line 111 of file rte_table_hash.h.

uint32_t n_keys

Maximum number of keys

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

uint32_t n_buckets_ext
Number of hash table bucket extensions. Each bucket extension has

space for 4 keys and each bucket can have 0, 1 or more extensions.

Definition at line 121 of file rte_table_hash.h.

Hash function

Definition at line 124 of file rte_table_hash.h.

uint64_t seed

Seed value for the hash function

Examples:
ip_pipeline/pipeline/pipeline_flow_classification_be.c.

Definition at line 127 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.

Examples:
ip_pipeline/pipeline/pipeline_flow_classification_be.c.

Definition at line 132 of file rte_table_hash.h.

uint32_t key_offset

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

Definition at line 135 of file rte_table_hash.h.


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