rte_hash_parameters(3)
okay so bestie, this is the rte_hash_parameters(3) page from the Library Functions Manual, and itβs literally the struct vibe check for the params you use when creating a hash table π
β¨
πΈ NAME πΈ
rte_hash_parameters β thatβs the name, queen ππ
β¨ SYNOPSIS β¨
#include <rte_hash.h>
π Data Fields π
const char * nameuint32_t entriesuint32_t reserveduint32_t key_lenrte_hash_function hash_funcuint32_t hash_func_init_valint socket_iduint8_t extra_flag
π« Detailed Description π«
These are the parameters used when creating the hash table β the setup details, the little config besties, the whole βmake it make senseβ bundle π«Ά
Definition at line 82 of file rte_hash.h.
π Field Documentation π
π const char* name π
Name of the hash. Itβs giving βlabel your fave so you know which one it isβ energy π·οΈβ¨
Definition at line 83 of file rte_hash.h.
π uint32_t entries π
Total hash table entries. Thatβs the full count, no cap ππ
Definition at line 84 of file rte_hash.h.
π¦ uint32_t reserved π¦
Unused field. Should be set to 0.
bestie, this one is literally unused β set it to 0 and move on πβ¨
Definition at line 85 of file rte_hash.h.
π uint32_t key_len π
Length of hash key. The key needs its moment, and this is how long it is ππ
Definition at line 86 of file rte_hash.h.
π₯ rte_hash_function hash_func π₯
Primary Hash function used to calculate hash. This is the main character doing the actual hashing work ππ«
Definition at line 87 of file rte_hash.h.
β uint32_t hash_func_init_val β
Init value used by hash_func. The starting little number that hash_func gets handed π¬π
Definition at line 88 of file rte_hash.h.
π§ int socket_id π§
NUMA Socket ID for memory. Itβs the memoryβs socket home base, iykyk π β¨
Definition at line 89 of file rte_hash.h.
π uint8_t extra_flag π
Indicate if additional parameters are present. A little yes/no vibe check for extra params πβ
Definition at line 90 of file rte_hash.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. So yeah, no human author here β just Doxygen doing its robot thing π€π
signing off from DPDK Version 26.03.0 on the rte_hash_parameters(3) page β mwah πβ¨
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms