DPDK  2.0.0
Data Fields
rte_hash_parameters Struct Reference

#include <rte_hash.h>

Data Fields

const char * name
uint32_t entries
uint32_t bucket_entries
uint32_t key_len
rte_hash_function hash_func
uint32_t hash_func_init_val
int socket_id

Detailed Description

Parameters used when creating the hash table. The total table entries and bucket entries must be a power of 2.

Field Documentation

uint32_t bucket_entries

Bucket entries.

uint32_t entries

Total hash table entries.

rte_hash_function hash_func

Function used to calculate hash.

uint32_t hash_func_init_val

Init value used by hash_func.

uint32_t key_len

Length of hash key.

const char* name

Name of the hash.

int socket_id

NUMA Socket ID for memory.


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