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 * nameuint32_t n_rulesuint32_t entry_unique_sizeuint32_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
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms