rte_table_...koo_params(3)
β¨ NAME β¨
rte_table_hash_cuckoo_params</p> β the little struct bestie that holds all your hash table parameters π
Oh and also? This whole thing is a Library Functions Manual page, so the title is rte_table_...koo_params(3) β yeah, the man page literally abbreviates its own name like it's too busy for vowels π. It's the big sister of rte_table_hash_cuckoo_params, no cap.
πΈ SYNOPSIS πΈ
#include <rte_table_hash_cuckoo.h>
π Data Fields π
const char * name
uint32_t key_size
uint32_t key_offset
uint8_t * key_mask
uint32_t n_keys
uint32_t n_buckets
rte_hash_function f_hash
uint32_t seed
π Detailed Description π
Hash table parameters β that's the whole vibe. This struct is your little bag of settings you hand over when you're setting up a cuckoo hash table, and it is lowkey iconic.
Definition at line 24 of file rte_table_hash_cuckoo.h.
π¦ Field Documentation π¦
const char * name
Name β¨ β literally just the name, bestie.
Definition at line 26 of file rte_table_hash_cuckoo.h.
uint32_t key_size
Key size (number of bytes) π β how chunky your key is, counted in bytes. Not bits. Bytes. Don't play with me.
Definition at line 29 of file rte_table_hash_cuckoo.h.
uint32_t key_offset
Byte offset within packet meta-data where the key is located π β like, the key isn't at the very start, it's chillin' at this distance into the packet meta-data. That's the offset. That's it.
Definition at line 32 of file rte_table_hash_cuckoo.h.
uint8_t * key_mask
Key mask π β a mask for your key. Iconic little filter.
Definition at line 35 of file rte_table_hash_cuckoo.h.
uint32_t n_keys
Number of keys π’ β how many keys you're planning to hold. Count them. Count them fr fr.
Definition at line 38 of file rte_table_hash_cuckoo.h.
uint32_t n_buckets
Number of buckets πͺ£ β how many buckets the table's got. Cuckoo hashing and buckets, name a more iconic duo.
Definition at line 41 of file rte_table_hash_cuckoo.h.
rte_hash_function f_hash
Hash function π β the actual function doing the hashing. Main character energy right here.
Definition at line 44 of file rte_table_hash_cuckoo.h.
uint32_t seed
Seed value for the hash function π± β the seed you feed to f_hash so it does its thing. Hydration for your hash function, basically.
Definition at line 47 of file rte_table_hash_cuckoo.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. π Not even a human wrote this, it's a robot in a trench coat, and honestly? It ate.
Okay that's the whole page, we're done, go touch some grass π
This was DPDK, Version 25.11.3, served up in the Library Functions Manual section β mwah π, go forth and hash responsibly, bestie π«Άβ¨
π¦ 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