RTE_FLOW_ACTION_PROG_ARGUMENT(3)
π NAME π
rte_flow_action_prog_argument β bestie, this is the struct that holds one lil' argument for a program action, and she's got opinions about how you fill her in β¨
π¦ SYNOPSIS π¦
#include <rte_flow.h>
π Data Fields π
const char * nameuint32_t sizeconst uint8_t * value
πΈ Detailed Description πΈ
Warning β EXPERIMENTAL: this structure may change without prior notice. Yeah bestie, she's in her experimental era π do NOT get attached to the layout, she can switch up on you any release.
Program action argument configuration parameters. That's it, that's the whole vibe β she's the little config bundle for one argument of a program action π
And here's the part you actually need to memorize, no cap: for each action argument, its size must be non-zero, and its value must point to a valid array of size bytes, specified in network byte order. Both of those, every time. Non-zero size, valid pointer, big-endian energy. Periodt π«Ά
See also β struct rte_flow_action_prog, her main character counterpart, go read that one next π
Fancy fun fact: this definition lives at line 4211 of the file rte_flow.h π
β Field Documentation β
π const char* name
Argument name. Like, her government name. Label your args, bestie, your future self will thank you π
Defined at line 4213 of the file rte_flow.h.
π uint32_t size
Argument size in bytes. Non-zero, always β a zero here is not the move π
Defined at line 4215 of the file rte_flow.h.
π const uint8_t* value
Argument value. This is the pointer we talked about β it has to actually point at size real, valid bytes, in network byte order. No dangling, no sneaky little lies π₯
Defined at line 4217 of the file rte_flow.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. So technically nobody wrote this, she just manifested π«
Ok that's the whole page, you ate it up fr fr ππ
This iconic lil' slice of documentation comes to you from DPDK, Version 25.11.3, filed under rte_flow_a...og_argument(3) β mwah, go forth and set those sizes to non-zero bestie πβ¨
π¦ 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