rte_swx_ctl_table_info(3)
π NAME π
rte_swx_ctl_table_info β bestie, this is the lil' struct that holds all the tea about a software switch table π«β¨
πΈ SYNOPSIS πΈ
#include <rte_swx_ctl.h>
π Data Fields
char name [RTE_SWX_CTL_NAME_SIZE]char args [RTE_SWX_CTL_NAME_SIZE]uint32_t n_match_fieldsuint32_t n_actionsint default_action_is_constrte_swx_hash_func_t hash_funcuint32_t size
β¨ Detailed Description β¨
Table info. That's it, that's the whole vibe β it's the little info-holder for a table, no cap. π
Definition at line 223 of file rte_swx_ctl.h. (iykyk, the receipts are all cited π)
π¦ Field Documentation π¦
π char name[RTE_SWX_CTL_NAME_SIZE]
Table name. It's giving "what do we even call this thing". π
Definition at line 225 of file rte_swx_ctl.h.
πΈ char args[RTE_SWX_CTL_NAME_SIZE]
Table creation arguments. The receipts from when the table was first born into existence. πβ¨
Definition at line 228 of file rte_swx_ctl.h.
π uint32_t n_match_fields
Number of match fields. Counting era. π’
Definition at line 231 of file rte_swx_ctl.h.
π uint32_t n_actions
Number of actions. Also counting era, but for actions this time. π¬
Definition at line 234 of file rte_swx_ctl.h.
π₯ int default_action_is_const
Okay so this one's important, bestie, listen up:
- Non-zero (true) when the default action is constant β meaning it cannot be changed. Locked. Frozen. Do not touch. π
- zero (false) when the default action not constant β meaning it can be changed. Go off, edit away. π
fr fr, check this before you try to change anything, or you'll get humbled real quick π
Definition at line 240 of file rte_swx_ctl.h.
π§ rte_swx_hash_func_t hash_func
Hash function. The hashing machinery, literally. β¨
Definition at line 243 of file rte_swx_ctl.h.
π uint32_t size
Table size parameter. How big the table is, iconic and measurable. π
Definition at line 246 of file rte_swx_ctl.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. (Not me writing it by hand, the robot did it β main character energy but make it automated π€π)
And that's the whole page, bestie! π«Ά This lil' slice of the manual is from DPDK Version 25.11.3, and yeah that's rte_swx_ctl_table_info(3) β mwah, go read the header if you wanna see lines 223β246 with your own two eyes. Slay, bye! π
π
π¦ 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