rte_flow_u...meter_mark(3)

πŸ’– NAME πŸ’–

okay so bestie, this is rte_flow_update_meter_mark β€” yes that's the whole name, and yes this page lives in the Library Functions Manual, section 3 (rte_flow_u...meter_mark(3), they had to chop it for the header, tragic πŸ’€). It's a DPDK struct doc page, the kind Doxygen spits out, and it's genuinely useful, no cap.


✨ SYNOPSIS ✨

#include <rte_flow.h>

πŸŽ€ Data Fields πŸŽ€

here's the roster of everything living inside this struct, fr fr:

  • struct rte_flow_action_meter_mark meter_mark
  • uint32_t profile_valid:1
  • uint32_t policy_valid:1
  • uint32_t color_mode_valid:1
  • uint32_t state_valid:1
  • uint32_t reserved:28

πŸ¦‹ Detailed Description πŸ¦‹

RTE_FLOW_ACTION_TYPE_METER_MARK

It's giving very much wrapper structure for the context update interface. That's the whole vibe β€” it wraps up the stuff you hand over when you wanna update the context.

And for the record πŸ“ it's defined at line 4174 of the file rte_flow.h. Iconic placement honestly.


🌸 Field Documentation 🌸

πŸ’… struct rte_flow_action_meter_mark meter_mark

New meter_mark parameters to be updated. fresh out the box, ready to be swapped in ✨

Definition at line 4176 of file rte_flow.h.

πŸ’… uint32_t profile_valid

The profile will be updated. πŸ‘‘

Definition at line 4178 of file rte_flow.h.

πŸ’… uint32_t policy_valid

The policy will be updated. she's getting a glow-up πŸ’–

Definition at line 4180 of file rte_flow.h.

πŸ’… uint32_t color_mode_valid

The color mode will be updated. the aesthetic is shifting bestie 🎨

Definition at line 4182 of file rte_flow.h.

πŸ’… uint32_t state_valid

The meter state will be updated. main character energy, state change arc 🌈

Definition at line 4184 of file rte_flow.h.

πŸ’… uint32_t reserved

Reserved bits for the future usage. not for you rn, she's saving those for later πŸ™ˆβœ¨

Definition at line 4186 of file rte_flow.h.

lowkey important: those four _valid flags are literally 1-bit bitfields (:1) and reserved is :28 β€” check 'em before you assume anything got applied, iykyk.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. not me writing this by hand, the bots did the heavy lifting πŸ€–πŸ’…


aaaand that's a wrap, bestie 🫢 this lil page came from DPDK, Version 25.11.3 β€” go update some meter marks, you got this β­πŸ“

πŸ“¦ where this page comes from