rte_table_array_params(3)

✨ NAME ✨

rte_table_array_params β€” bestie, it's the struct that holds the vibes (aka the parameters) for an array table πŸ’– it's a 3 manpage, so it's a library function page, and yes we're gonna read it together, no skipping 🫢


🌸 SYNOPSIS 🌸

#include <rte_table_array.h>

πŸŽ€ Data Fields πŸŽ€

  • uint32_t n_entries
  • uint32_t offset

πŸ¦‹ Detailed Description πŸ¦‹

Array table parameters. That's the whole main character energy of this struct β€” it's the little bundle of settings you hand over when you're setting up an array table πŸ’…

Definition at line 24 of file rte_table_array.h.

πŸ‘‘ Field Documentation πŸ‘‘

πŸ’œ uint32_t n_entries

Number of array entries. Has to be a power of two. Like, this is not a suggestion, bestie, it is the law 😭 1, 2, 4, 8, 16, 32... you get it. 3 is not invited to this party, no cap.

Definition at line 26 of file rte_table_array.h.

πŸ’œ uint32_t offset

Byte offset within the input packet meta-data where the lookup key is located β€” and btw the lookup key here is the array entry index, iykyk πŸ”₯ So like, this field tells the table "hey, the thing you're gonna look up with is sitting this many bytes into the packet metadata, go get it" ✨

Definition at line 30 of file rte_table_array.h.

πŸ’– Author πŸ’–

Generated automatically by Doxygen for DPDK from the source code. Not a human, just a robot doing its little thing and honestly? slay πŸ€–πŸ’…


okay that's the whole page, you absolutely ate this one bestie, go forth and build your array table πŸŒˆπŸ’–

This was the rte_table_array_params(3) page from DPDK, Version 25.11.3, and that's a wrap β€” mwah, periodt πŸŽ€βœ¨

πŸ“¦ where this page comes from