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