rte_flow_a...meter_mark(3)
π NAME π
rte_flow_action_meter_mark β bestie, this is the struct that handles traffic metering and marking, and she is serving
β¨ SYNOPSIS β¨
#include <rte_flow.h>
π Data Fields π
struct rte_flow_meter_profile * profileint color_modeint state
πΈ DETAILED DESCRIPTION πΈ
RTE_FLOW_ACTION_TYPE_METER_MARK
Traffic metering and marking (MTR) β say it with me, MTR, iconic.
So what she does is: she meters a packet stream and marks its packets either green, yellow, or red according to the specified profile. That's it, that's the whole vibe. π¦
The policy is optional and may be specified for defining subsequent actions based on a color assigned by MTR. Alternatively, the METER_COLOR item may be used for this. Two ways to do the same thing, pick your fighter. π
Definition at line 4157 of file rte_flow.h.
π¦ FIELD DOCUMENTATION π¦
π struct rte_flow_meter_profile* profile
< Profile config retrieved with rte_mtr_profile_get(). Policy config retrieved with rte_mtr_policy_get().
Like, she's holding the receipts β the profile comes from rte_mtr_profile_get() and the policy comes from rte_mtr_policy_get(). Go get 'em first, then come back, okay? π«Ά
Definition at line 4160 of file rte_flow.h.
π int color_mode
Metering mode:
0β Color-Blind1β Color-Aware
Pick your lens, no wrong answers, just different vibes. π
Definition at line 4164 of file rte_flow.h.
β int state
Metering state:
0β Disabled1β Enabled
Off or on, that's the whole thing, periodt.
Definition at line 4166 of file rte_flow.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. Not a human, not a bot with feelings, just Doxygen doing her little thing. And honestly? She ate. πβ¨
Okay bestie, that's the whole page β this is from DPDK, Version 25.11.3, and the manual she lives in is rte_flow_a...meter_mark(3). Go forth and meter your packets responsibly. 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