rte_fbk_hash_params(3)

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

πŸ’… rte_fbk_hash_params

ok so bestie, this page is all about rte_fbk_hash_params β€” that's the struct you fill out when you're creating a four-byte key hash table in DPDK. It's literally just a lil bundle of parameters, nothing scary, i promise 🫢


✨ SYNOPSIS ✨

#include <rte_fbk_hash.h>

πŸŽ€ Data Fields

  • const char * name
  • uint32_t entries
  • uint32_t entries_per_bucket
  • int socket_id
  • rte_fbk_hash_fn hash_func
  • uint32_t init_val

🌸 DETAILED DESCRIPTION 🌸

These are the parameters used when creating a four-byte key hash table. that's it, that's the whole vibe πŸ’–

πŸ“ Definition at line 49 of file rte_fbk_hash.h.

πŸ¦‹ FIELD DOCUMENTATION πŸ¦‹

ok now let's go field by field, one at a time, no skipping, we're being thorough today πŸ’…

🌈 const char* name

The name of the hash table. yes, it has a name, it's a main character πŸ‘‘

πŸ“ Definition at line 50 of file rte_fbk_hash.h.

⭐ uint32_t entries

The total number of entries. the whole count, periodt ✨

πŸ“ Definition at line 51 of file rte_fbk_hash.h.

πŸ“ uint32_t entries_per_bucket

How many entries live in a bucket. that's the per-bucket count, bestie 🧺

πŸ“ Definition at line 52 of file rte_fbk_hash.h.

🧚 int socket_id

The socket to allocate memory on. pick your socket wisely 😌

πŸ“ Definition at line 53 of file rte_fbk_hash.h.

πŸ”₯ rte_fbk_hash_fn hash_func

The hash function. the actual hashing icon itself πŸ’€

πŸ“ Definition at line 54 of file rte_fbk_hash.h.

πŸ’œ uint32_t init_val

Used for initialising the hash function. the starter value, the opening act 🌸

πŸ“ Definition at line 55 of file rte_fbk_hash.h.

πŸ‘‘ AUTHOR

Generated automatically by Doxygen for DPDK from the source code. not me writing it by hand, the robot did it πŸ€–βœ¨


aaaand that's the whole page!! tysm for reading bestie, ily, go build that four-byte key hash table πŸŽ€πŸ«Ά β€” this lil doc came from DPDK, Version 26.03.0 (the rte_fbk_hash_params(3) page, specifically πŸ’–).

πŸ“¦ where this page comes from