DPDK  17.11.10
Data Fields
rte_table_hash_params Struct Reference

#include <rte_table_hash.h>

Data Fields

const char * name
 
uint32_t key_size
 
uint32_t key_offset
 
uint8_t * key_mask
 
uint32_t n_keys
 
uint32_t n_buckets
 
rte_table_hash_op_hash f_hash
 
uint64_t seed
 

Detailed Description

Hash table parameters

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

Definition at line 92 of file rte_table_hash.h.

Field Documentation

const char* name
uint32_t key_size

Key size (number of bytes)

Definition at line 97 of file rte_table_hash.h.

uint32_t key_offset

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

Definition at line 100 of file rte_table_hash.h.

uint8_t* key_mask

Key mask

Definition at line 103 of file rte_table_hash.h.

uint32_t n_keys

Number of keys

Definition at line 106 of file rte_table_hash.h.

uint32_t n_buckets

Number of buckets

Definition at line 109 of file rte_table_hash.h.

Hash function

Definition at line 112 of file rte_table_hash.h.

uint64_t seed

Seed value for the hash function

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

Definition at line 115 of file rte_table_hash.h.


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