RTE_TABLE_LPM_IPV6_PARAMS(3)

✨ NAME ✨

rte_table_lpm_ipv6_params β€” it's a struct, bestie, and it's the lil vibe check your LPM IPv6 table needs before it can do its thing πŸ’…

This page lives in the Library Functions Manual section of the manual, and it's exactly the glossary of fields you need to fill in. No cap. 🫢


🌸 SYNOPSIS 🌸

okay so first, you gotta let it in the door:

#include <rte_table_lpm_ipv6.h>

πŸŽ€ Data Fields πŸŽ€

  • const char * name
  • uint32_t n_rules
  • uint32_t entry_unique_size
  • uint32_t offset

like. four fields. four. that's the whole thing. iconic behavior honestly πŸ’–


πŸ’œ Detailed Description πŸ’œ

LPM table parameters ✨

It's giving "configuration receipt". You hand these over, and the LPM table knows what it is, how much room it's got, and where to look. That's the whole job.

Fun lil detail: this struct is defined at line 54 of the file rte_table_lpm_ipv6.h, so if you ever need to go say hi to it in person, you know where it's at πŸ¦‹

🌈 Field Documentation 🌈

⭐ const char* name

Table name. That's it. That's the field. It needs a name because everything deserves a name, periodt πŸ’…

Definition at line 56 of file rte_table_lpm_ipv6.h.

⭐ uint32_t n_rules

Maximum number of LPM rules β€” and by "LPM rules" we mean IP routes, iykyk. So this is your ceiling. Your rule budget. Don't exceed it. 🚫

Definition at line 59 of file rte_table_lpm_ipv6.h.

⭐ uint32_t entry_unique_size

The number of bytes at the start of the table entry that uniquely identify the entry.

Heads up bestie: this one cannot be bigger than the table entry size. That's a hard no, not a soft no. Respect the boundary πŸ›‘

Definition at line 65 of file rte_table_lpm_ipv6.h.

⭐ uint32_t offset

Byte offset within the input packet meta-data where the lookup key lives β€” and the lookup key here is the destination IP address, in case you were wondering πŸ‘€

So: where in the metadata does the thing we're looking for actually start? That number. Right there.

Definition at line 69 of file rte_table_lpm_ipv6.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK, straight from the source code. So technically a robot wrote this page, but I'm the one making it make sense for you 🫢✨


okay that's the whole page, mwah πŸ’‹ this was rendered from DPDK Version 25.11.3 under the manual name rte_table_...ipv6_params(3), and that's a wrap β€” go configure your table and slay πŸŒŸπŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from