DPDK  20.05.0
Data Fields
rte_fbk_hash_params Struct Reference

#include <rte_fbk_hash.h>

Data Fields

const char * name
 
uint32_t entries
 
uint32_t entries_per_bucket
 
int socket_id
 
rte_fbk_hash_fn hash_func
 
uint32_t init_val
 

Detailed Description

Parameters used when creating four-byte key hash table.

Examples:
examples/ipv4_multicast/main.c.

Definition at line 50 of file rte_fbk_hash.h.

Field Documentation

const char* name

Name of the hash table.

Examples:
examples/ipv4_multicast/main.c.

Definition at line 51 of file rte_fbk_hash.h.

uint32_t entries

Total number of entries.

Definition at line 52 of file rte_fbk_hash.h.

uint32_t entries_per_bucket

Number of entries in a bucket.

Definition at line 53 of file rte_fbk_hash.h.

int socket_id

Socket to allocate memory on.

Examples:
examples/ipv4_multicast/main.c.

Definition at line 54 of file rte_fbk_hash.h.

rte_fbk_hash_fn hash_func

The hash function.

Definition at line 55 of file rte_fbk_hash.h.

uint32_t init_val

For initialising hash function.

Definition at line 56 of file rte_fbk_hash.h.


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