rte_fbk_hash_table(3)

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

πŸ’– NAME πŸ’–

okay so this is the rte_fbk_hash_table(3) page from the Library Functions Manual, and the NAME is literally just rte_fbk_hash_table β€” no cap, that’s the whole name. It’s the four-byte key hash table structure, and the details are coming in hot. ✨


✨ SYNOPSIS ✨

First, the include, bestie:

#include <rte_fbk_hash.h>

🌈 Data Fields 🌈

The struct is serving these fields:

  • char name [RTE_FBK_HASH_NAMESIZE]
  • uint32_t entries
  • uint32_t entries_per_bucket
  • uint32_t used_entries
  • uint32_t bucket_mask
  • uint32_t bucket_shift
  • rte_fbk_hash_fn hash_func
  • uint32_t init_val
  • union rte_fbk_hash_entry t []

πŸ¦‹ Detailed Description πŸ¦‹

It’s giving the four-byte key hash table structure. That’s the whole vibe. πŸ“Œ Definition at line 70 of file rte_fbk_hash.h.


πŸŽ€ Field Documentation πŸŽ€

Each field is coming in hot, and yes, we’re keeping every line number because details are the moment:

  • char name[RTE_FBK_HASH_NAMESIZE] β€” Name of the hash. πŸ“Œ Definition at line 71 of file rte_fbk_hash.h.
  • uint32_t entries β€” Total number of entries. πŸ“Œ Definition at line 72 of file rte_fbk_hash.h.
  • uint32_t entries_per_bucket β€” Number of entries in a bucket. πŸ“Œ Definition at line 73 of file rte_fbk_hash.h.
  • uint32_t used_entries β€” How many entries are used. πŸ“Œ Definition at line 74 of file rte_fbk_hash.h.
  • uint32_t bucket_mask β€” To find which bucket the key is in. πŸ“Œ Definition at line 75 of file rte_fbk_hash.h.
  • uint32_t bucket_shift β€” Convert bucket to table offset. πŸ“Œ Definition at line 76 of file rte_fbk_hash.h.
  • rte_fbk_hash_fn hash_func β€” The hash function. πŸ“Œ Definition at line 77 of file rte_fbk_hash.h.
  • uint32_t init_val β€” For initialising hash function. πŸ“Œ Definition at line 78 of file rte_fbk_hash.h.
  • union rte_fbk_hash_entry t[] β€” A flat table of all buckets. πŸ“Œ Definition at line 81 of file rte_fbk_hash.h.

πŸ’Œ Author πŸ’Œ

Generated automatically by Doxygen for DPDK from the source code. So yeah, no human author to tag here β€” Doxygen did its thing, periodt. 🫢


okay that’s the whole page, bestie πŸ’… β€” footer tea: the source/version is DPDK, Version 26.03.0, and there’s no date printed in the footer, so no date to report. Bye! πŸŽ€βœ¨

πŸ“¦ where this page comes from