rte_table_...ounters_tc(3)
π NAME π
rte_table_action_mtr_counters_tc β bestie, this is a struct, and it's giving meter action statistics counters per traffic class β¨ (iykyk: that's the <cyan>traffic class</cyan> version of the meter counters, one bucket per color, and she's living her best life at line 266 of rte_table_action.h π)
πΈ SYNOPSIS πΈ
#include <rte_table_action.h>
β¨ Data Fields β¨
uint64_t n_packets [RTE_COLORS]β one packet counter for every color, bestie πuint64_t n_bytes [RTE_COLORS]β one byte counter for every color, periodt πint n_packets_validβ a little flag telling you ifn_packetsis actually telling the truth πint n_bytes_validβ same energy, but forn_bytesπ¦
π«Ά Detailed Description π«Ά
No cap, this whole struct is just meter action statistics counters per traffic class π
She's defined at line 266 of the file rte_table_action.h, and she is thriving.
π Field Documentation π
π uint64_t n_packets[RTE_COLORS]
This is the number of packets per color at the output of the traffic metering and before the policer actions are executed π₯
Okay so listen β this field is only valid when n_packets_valid is non-zero. If that flag is zero, bestie, that number is not your friend, do not trust her π
Defined at line 271 of the file rte_table_action.h. Iconic.
π uint64_t n_bytes[RTE_COLORS]
The number of packet bytes per color at the output of the traffic metering and before the policer actions are executed π«
And again, she's only valid when n_bytes_valid is non-zero. Vibe check that flag first, fr fr β¨
Defined at line 277 of the file rte_table_action.h.
π int n_packets_valid
When this one is non-zero, the n_packets field is valid β
β like, she's the bouncer at the club and she says who's allowed in π
Defined at line 280 of the file rte_table_action.h.
π¦ int n_bytes_valid
When this one is non-zero, the n_bytes field is valid β
β same bouncer, different velvet rope π«Ά
Defined at line 283 of the file rte_table_action.h.
β Author β
Generated automatically by Doxygen for DPDK from the source code. Not me writing a cute little signature by hand, nope β the robot did it, and honestly? She ate. π€π
π So yeah, that's the whole page β this is DPDK Version 25.11.3, and this manual page is literally titledrte_table_...ounters_tc(3)because the header got a lil truncated, but the real name isrte_table_action_mtr_counters_tcand you knew that already, bestie πβ¨
π¦ 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