RTE_TABLE_ACTION_MTR_CONFIG(3)
π NAME π
rte_table_action_mtr_config β bestie, this is a struct, and it's the meter action config vibe check β¨
πΈ SYNOPSIS πΈ
#include <rte_table_action.h>
π Data Fields π
enum rte_table_action_meter_algorithm alguint32_t n_tcint n_packets_enabledint n_bytes_enabled
π Detailed Description π
Meter action configuration (per table action profile). It's giving "how do I want my meters to act" energy, and lowkey it holds all the answers for one action profile π
Definition at line 287 of file rte_table_action.h.
π¦ Field Documentation π¦
β enum rte_table_action_meter_algorithm alg
Meter algorithm. That's the whole thing, no cap β it's just... the algorithm, bestie π
Definition at line 289 of file rte_table_action.h.
π uint32_t n_tc
Number of traffic classes. Each traffic class has its own traffic meter and policer instances, so they're all out here living their separate main character lives β¨
Needs to be equal to either 1 or to RTE_TABLE_ACTION_TC_MAX. No in-between, no "close enough" β those are literally the only two options fr fr π
Definition at line 295 of file rte_table_action.h.
π int n_packets_enabled
When non-zero, the n_packets meter stats counter is enabled, otherwise it is disabled. So like, 1 = slay, 0 = silent treatment π
See also
struct rte_table_action_mtr_counters_tc
Definition at line 302 of file rte_table_action.h.
π int n_bytes_enabled
When non-zero, the n_bytes meter stats counter is enabled, otherwise it is disabled. Same deal as its sister field, just counting bytes instead of packets β both icons, honestly π«Ά
See also
struct rte_table_action_mtr_counters_tc
Definition at line 309 of file rte_table_action.h.
π§ Author π§
Generated automatically by Doxygen for DPDK from the source code.
okay that's the whole page bestie, you ate that reading session π This is DPDK, Version 25.11.3, and it's the rte_table_..._mtr_config(3) girlie from the Library Functions Manual β periodt, no further questions, go enable your meters πβ¨
π¦ 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