rte_fbk_hash_params(3)

πŸ’– NAME πŸ’–

rte_fbk_hash_params β€” bestie, it's a struct, and it's the lil bundle of settings you hand over when you're making a four-byte key hash table πŸ’…

(also yes, this is page 3 of the manual, iykyk)


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so first you gotta let it in, gatekeep the vibes, and then:

#include <rte_fbk_hash.h>

🌈 Data Fields 🌈

here's the whole squad, no one left out:

  • 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 🌸

so like… this struct is literally just the parameters used when creating four-byte key hash table. that's the whole job. that's the assignment. she's a little bag of settings and she serves πŸ’–

Definition at line 49 of file rte_fbk_hash.h.

πŸŽ€ FIELD DOCUMENTATION πŸŽ€

grab a snack, we're meeting each member of the group chat one by one 🫢

const char* name

the Name of the hash table. like, what do you call her. ✨

Definition at line 50 of file rte_fbk_hash.h.

uint32_t entries

the Total number of entries. all of them. the full count, no crumbs left behind πŸ”₯

Definition at line 51 of file rte_fbk_hash.h.

uint32_t entries_per_bucket

the Number of entries in a bucket. bars in a bucket πŸ“ bucket in a hash table, we love a themed moment.

Definition at line 52 of file rte_fbk_hash.h.

int socket_id

the Socket to allocate memory on. yes, socket. memory's home address, periodt πŸ‘‘

Definition at line 53 of file rte_fbk_hash.h.

rte_fbk_hash_fn hash_func

The hash function. the main character of the whole operation, honestly. she's doing the work 🌟

Definition at line 54 of file rte_fbk_hash.h.

uint32_t init_val

For initialising hash function. lil starter value, gets the whole thing going πŸŽ€

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 robots did it, and honestly? they ate πŸ’…βœ¨


and that's the whole page, bestie!! πŸŒˆπŸ’– big kiss, this came to you from DPDK, Version 25.11.3, on the rte_fbk_hash_params(3) page πŸ¦‹ no cap, that's genuinely the version. bye ily, go build something iconic πŸŽ€πŸ’œ

πŸ“¦ where this page comes from