rte_table_lpm_params(3)

✨ rte_table_lpm_params ✨

okay bestie, so this is a page from the Library Functions Manual β€” it's rte_table_lpm_params(3), and it's literally just the rundown on the little struct that holds all the LPM table parameters for DPDK. no plot twists, just fields. let's get into it πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <rte_table_lpm.h>

Data Fields

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

πŸ¦‹ DESCRIPTION πŸ¦‹

LPM table parameters ✨

Definition at line 49 of file rte_table_lpm.h.

🌸 Field Documentation 🌸

πŸ’– const char* name

Table name.

Definition at line 51 of file rte_table_lpm.h.

πŸ’– uint32_t n_rules

Maximum number of LPM rules (i.e. IP routes) Number of tbl8s to allocate.

Definition at line 54 of file rte_table_lpm.h.

πŸ’– uint32_t number_tbl8s

This field is currently unused. πŸ«₯

Definition at line 57 of file rte_table_lpm.h.

πŸ’– uint32_t entry_unique_size

Number of bytes at the start of the table entry that uniquely identify the entry. Cannot be bigger than table entry size.

Definition at line 64 of file rte_table_lpm.h.

πŸ’– uint32_t offset

Byte offset within input packet meta-data where lookup key (i.e. the destination IP address) is located.

Definition at line 68 of file rte_table_lpm.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. (yes bestie, a robot wrote this. iconic behaviour fr fr.)


and that's the whole page, no cap 🧚 this lil number ships with DPDK, Version 25.11.3, and the manual page itself is rte_table_lpm_params(3) β€” go forth and route some packets, you absolute main character πŸŒˆπŸ’œ

πŸ“¦ where this page comes from