rte_swx_table_state(3)

✨ NAME ✨

rte_swx_table_state β€” bestie, it's a struct πŸ’… and it's holding your table's whole state, no cap


🌸 SYNOPSIS 🌸

okay so first things first, you gotta pull in the header:

#include <rte_swx_ctl.h>

Data Fields πŸŽ€

  • void * obj
  • uint64_t default_action_id
  • uint8_t * default_action_data

πŸ’– Detailed Description πŸ’–

It's a table state. that's the vibe. that's the whole vibe. ✨

lowkey important: this thing lives at Definition at line 764 of file rte_swx_ctl.h. so if you're out here grepping for it, that's where she lives 🫢

πŸ¦‹ Field Documentation πŸ¦‹

void* obj

It's the table object, periodt. πŸ’…

Definition at line 766 of file rte_swx_ctl.h.

uint64_t default_action_id

The action ID of the table default action πŸ‘‘ like who's getting called when nothing else matches, iykyk.

Definition at line 769 of file rte_swx_ctl.h.

uint8_t* default_action_data

The action data of the table default action. 🌈

okay listen carefully bestie because this part actually matters: this field is ignored when the action data size is zero; otherwise, action data size bytes are meaningful. that's the rule, don't fight it πŸ™ˆ

Definition at line 774 of file rte_swx_ctl.h.

🌟 Author 🌟

This was generated automatically by Doxygen for DPDK from the source code. so nobody hand-wrote this, the robots did it, and honestly? they ate πŸ’€


okay that's the whole page, mwah πŸ’– one lil cute sign-off for you: this iconic lil doc is brought to you by DPDK, Version 25.11.3 and it was absolutely generated by the Doxygen girlies from the source code itself πŸ§šβ€β™€οΈ go forth and slay your tables, bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from