DPDK  24.07.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 48 of file rte_fbk_hash.h.

Field Documentation

◆ name

const char* name

Name of the hash table.

Examples:
examples/ipv4_multicast/main.c.

Definition at line 49 of file rte_fbk_hash.h.

◆ entries

uint32_t entries

Total number of entries.

Definition at line 50 of file rte_fbk_hash.h.

◆ entries_per_bucket

uint32_t entries_per_bucket

Number of entries in a bucket.

Definition at line 51 of file rte_fbk_hash.h.

◆ socket_id

int socket_id

Socket to allocate memory on.

Examples:
examples/ipv4_multicast/main.c.

Definition at line 52 of file rte_fbk_hash.h.

◆ hash_func

rte_fbk_hash_fn hash_func

The hash function.

Definition at line 53 of file rte_fbk_hash.h.

◆ init_val

uint32_t init_val

For initialising hash function.

Definition at line 54 of file rte_fbk_hash.h.


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