rte_fbk_hash_table(3)
π rte_fbk_hash_table π
okay bestie, welcome to a <bold>man page 3</bold> moment β library functions manual, DPDK edition. this one's about a lil struct called rte_fbk_hash_table, and yes it is exactly as adorable and nerdy as it sounds. grab a matcha, we're doing this. π
β¨ NAME β¨
rte_fbk_hash_table β the four-byte key hash table structure, fr fr
β¨ SYNOPSIS β¨
#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 []
β¨ DESCRIPTION β¨
Detailed Description
okay so. it's The four-byte key hash table structure. that's the whole vibe. β¨
it lives at Definition at line 70 of file rte_fbk_hash.h. iconic placement, no notes. π
β¨ FIELD DOCUMENTATION β¨
πΈ char name[RTE_FBK_HASH_NAMESIZE]
Name of the hash. it's giving "hi, i'm the hash, nice to meet you." π
Definition at line 71 of file rte_fbk_hash.h.
πΈ uint32_t entries
Total number of entries. all of them. the whole squad. π
Definition at line 72 of file rte_fbk_hash.h.
πΈ uint32_t entries_per_bucket
Number of entries in a bucket. yes, buckets. like a cute lil pail but for data. πͺ£β¨
Definition at line 73 of file rte_fbk_hash.h.
πΈ uint32_t used_entries
How many entries are used. the rest are just... sitting there. spectator energy. π
Definition at line 74 of file rte_fbk_hash.h.
πΈ uint32_t bucket_mask
To find which bucket the key is in. detective work, but make it bitwise. π΅οΈββοΈ
Definition at line 75 of file rte_fbk_hash.h.
πΈ uint32_t bucket_shift
Convert bucket to table offset. glow-up but for indices. π
Definition at line 76 of file rte_fbk_hash.h.
πΈ rte_fbk_hash_fn hash_func
The hash function. the main character, honestly. π
Definition at line 77 of file rte_fbk_hash.h.
πΈ uint32_t init_val
For initialising hash function. a lil starting-value pep talk. π«Ά
Definition at line 78 of file rte_fbk_hash.h.
πΈ union rte_fbk_hash_entry t[]
A flat table of all buckets. flat. all of them. laid out. no nesting drama. π
Definition at line 81 of file rte_fbk_hash.h.
β¨ AUTHOR β¨
Generated automatically by Doxygen for DPDK from the source code. so like, not a human author, just the machine doing its lil thing. π€π
k that's the whole page bestie, you ate it π
β¨ official sign-off time: this is DPDK, Version 25.11.3, and it's the rte_fbk_hash_table(3) page. go forth and hash responsibly. π¦πΈπ
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms