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