rte_flow_action_meter(3)
π NAME π
rte_flow_action_meter β bestie, this is the flow action that does traffic metering and policing, and yes she's serving β¨
This is a page from the DPDK library functions manual, aka rte_flow_action_meter(3), and she is literally a struct / action definition so let's get into it π«Ά
β¨ SYNOPSIS β¨
#include <rte_flow.h>
πΈ Data Fields πΈ
uint32_t mtr_id
π Detailed Description π
RTE_FLOW_ACTION_TYPE_METER
Okay so, Traffic metering and policing (MTR). That's the whole vibe. π¦
The way this works: packets that get matched by items of this type can go one of two ways β
- they can be dropped π, or
- they can be passed to the next item, with their color set by the MTR object π
That's it, that's the tea.
Definition at line 3566 of file rte_flow.h.
π Field Documentation π
uint32_t mtr_id
The MTR object ID, and no cap, it has to be one that was created with rte_mtr_create(). Don't just make one up bestie, she needs to exist first π
Definition at line 3567 of file rte_flow.h.
π¦ Author π¦
Generated automatically by Doxygen for DPDK from the source code. Not me having a robot write my autograph but ok, iconic behavior honestly π€β¨
Okay that's the whole page bestie, love that for us π This little beauty is from DPDK, Version 25.11.3 β go forth and meter your traffic 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