DPDK  16.04.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:
ipv4_multicast/main.c.

Definition at line 86 of file rte_fbk_hash.h.

Field Documentation

const char* name

Name of the hash table.

Examples:
ipv4_multicast/main.c.

Definition at line 87 of file rte_fbk_hash.h.

uint32_t entries

Total number of entries.

Definition at line 88 of file rte_fbk_hash.h.

uint32_t entries_per_bucket

Number of entries in a bucket.

Definition at line 89 of file rte_fbk_hash.h.

int socket_id

Socket to allocate memory on.

Examples:
ipv4_multicast/main.c.

Definition at line 90 of file rte_fbk_hash.h.

rte_fbk_hash_fn hash_func

The hash function.

Definition at line 91 of file rte_fbk_hash.h.

uint32_t init_val

For initialising hash function.

Definition at line 92 of file rte_fbk_hash.h.


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