RTE_SWX_CTL_ACTION_ARG_INFO(3)
β¨ NAME β¨
rte_swx_ctl_action_arg_info β bestie, it's a struct. A whole little struct living in the Library Functions Manual, section 3, and it's the moment you learn what an action argument actually is π
π¦ SYNOPSIS π¦
#include <rte_swx_ctl.h>
πΈ Data Fields πΈ
char name[RTE_SWX_CTL_NAME_SIZE]
uint32_t n_bits
int is_network_byte_order
π DESCRIPTION π
Detailed Description
Okay so Action argument info. That's the whole vibe. It's the struct that holds the deets on one single action argument, no more no less π«Ά
It's defined at line 182 of the file rte_swx_ctl.h. Iconic. Put that in your notes.
π FIELD DOCUMENTATION π
π char name[RTE_SWX_CTL_NAME_SIZE]
The action argument name. That's it, that's the field. It lives at line 184 of rte_swx_ctl.h.
β uint32_t n_bits
The size of the action argument, and how is it measured? In bits, obviously β¨ Not bytes, not vibes β bits. Defined at line 187 of rte_swx_ctl.h.
π int is_network_byte_order
Ooh this one's the main character. So listen:
- Non-zero (which means true) when this action argument must be stored in the table in network byte order (NBO) π
- Zero, meaning false, when it must be stored in host byte order (HBO) π
That's the whole story: one int, two possible byte-order destinies. Sit with that. Defined at line 193 of rte_swx_ctl.h.
π«Ά AUTHOR π«Ά
Generated automatically by Doxygen for DPDK from the source code. Not a human girlie typing this out by hand, a robot did it, and honestly? It ate π
no cap, everything above is straight from the header β rte_swx_ctl.h is the source of truth, always check it, iykyk π¦
k bye bestie, this was DPDK Version 25.11.3, page rte_swx_ct...on_arg_info(3), coming at you from the Library Functions Manual π mwah π
π¦ 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