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