rte_table_hash_params(3)
β¨ rte_table_hash_params β¨
okay bestie, so this is rte_table_hash_params from section 3 of the Library Functions Manual, and it's literally just the struct you hand over when you wanna build a hash table π. no cap, it's a data-fields-only page, but we're gonna read it together like it's the group chat. π«Ά
πΈ NAME πΈ
rte_table_hash_params β the parameter struct that tells DPDK how to build your hash table, bestie. it's giving "here's everything you need to know about my keys". π
π SYNOPSIS π
#include <rte_table_hash.h>
π¦ Data Fields π¦
const char * nameuint32_t key_sizeuint32_t key_offsetuint8_t * key_maskuint32_t n_keysuint32_t n_bucketsrte_table_hash_op_hash f_hashuint64_t seed
π Detailed Description π
Hash table parameters. periodt. that's the whole vibe β this struct is the care package you pass in so the hash table knows what it's working with. π
Definition at line 63 of file rte_table_hash.h.
π Field Documentation π
okay now the main character energy: every single field, one by one, with receipts. π
β const char* name
Name.
Definition at line 65 of file rte_table_hash.h.
π uint32_t key_size
Key size (number of bytes).
Definition at line 68 of file rte_table_hash.h.
π uint32_t key_offset
Byte offset within packet meta-data where the key is located.
Definition at line 71 of file rte_table_hash.h.
π§ uint8_t* key_mask
Key mask.
Definition at line 74 of file rte_table_hash.h.
π uint32_t n_keys
Number of keys.
Definition at line 77 of file rte_table_hash.h.
π₯ uint32_t n_buckets
Number of buckets.
Definition at line 80 of file rte_table_hash.h.
β¨ rte_table_hash_op_hash f_hash
Hash function.
Definition at line 83 of file rte_table_hash.h.
π uint64_t seed
Seed value for the hash function.
Definition at line 86 of file rte_table_hash.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. not me getting my whole bio written by a doc generator, iconic honestly. π
and that's the whole page bestie, slay π«Ά this cutie came to you courtesy of DPDK, Version 25.11.3 β go build a hash table, you've got this πβ¨
π¦ 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