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 alg
  • uint32_t n_tc
  • int n_packets_enabled
  • int 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