rte_lpm_config(3)
π NAME π
rte_lpm_config β bestie, this is a struct, and it's the lil' config cutie you hand over when you're setting up an LPM (longest prefix match) table β¨
πΈ SYNOPSIS πΈ
#include <rte_lpm.h>
π Data Fields π
uint32_t max_rules
uint32_t number_tbl8s
int flags
π¦ DESCRIPTION π¦
Okay so, no cap β this is the LPM configuration structure. It's the lil' bundle of settings you pass around when you wanna tell the LPM what it's working with π
It lives at Definition at line 125 of file rte_lpm.h. Yes, literally line 125, go look, it's right there π«Ά
β FIELD DOCUMENTATION β
uint32_t max_rulesβ the max number of rules, periodt. That's the ceiling, the limit, the "pls don't go over this" number π
Definition at line 126 of file rte_lpm.h.
uint32_t number_tbl8sβ how many tbl8s you wanna allocate π (yes, tbl8s, that's the actual name, iykyk)
Definition at line 127 of file rte_lpm.h.
int flagsβ ok so this one is currently unused π it's just vibing there, sitting in the struct, contributing nothing. Iconic of it honestly. Don't expect it to do anything.
Definition at line 128 of file rte_lpm.h.
No lies detected: flags really do be unused. Don't assign it meaning, bestie, you'll be heartbroken π
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code π€β¨ she's a machine-made queen and she ate.
That's the whole page, fr fr π This was page rte_lpm_config(3) from DPDK Version 25.11.3 π Thanks for reading the whole thing, you're literally the main character π§π
π¦ 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