DPDK  2.0.0
Data Fields
rte_fbk_hash_table Struct Reference

#include <rte_fbk_hash.h>

Data Fields

char name [RTE_FBK_HASH_NAMESIZE]
uint32_t entries
uint32_t entries_per_bucket
uint32_t used_entries
uint32_t bucket_mask
uint32_t bucket_shift
rte_fbk_hash_fn hash_func
uint32_t init_val
union rte_fbk_hash_entry t [0]

Detailed Description

The four-byte key hash table structure.

Field Documentation

uint32_t bucket_mask

To find which bucket the key is in.

uint32_t bucket_shift

Convert bucket to table offset.

uint32_t entries

Total number of entries.

uint32_t entries_per_bucket

Number of entries in a bucket.

rte_fbk_hash_fn hash_func

The hash function.

uint32_t init_val

For initialising hash function.

Name of the hash.

union rte_fbk_hash_entry t[0]

A flat table of all buckets.

uint32_t used_entries

How many entries are used.


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