rte_hash_parameters(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

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 * name
  • uint32_t entries
  • uint32_t reserved
  • uint32_t key_len
  • rte_hash_function hash_func
  • uint32_t hash_func_init_val
  • int socket_id
  • uint8_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