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_fields
  • uint32_t n_actions
  • int default_action_is_const
  • rte_swx_hash_func_t hash_func
  • uint32_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