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 * name
  • uint32_t size
  • const 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