rte_table_...ounters_tc(3)
π NAME
rte_table_action_mtr_counters_tc β bestie, this is the meter action's stats-counter struct, one set per traffic class. It's from the DPDK Library Functions Manual and honestly it's giving "small struct, big responsibilities" β¨
π SYNOPSIS
#include <rte_table_action.h>
πΈ Data Fields
uint64_t n_packets[RTE_COLORS]
uint64_t n_bytes[RTE_COLORS]
int n_packets_valid
int n_bytes_valid
π¦ DESCRIPTION (Detailed Description)
Okay so this struct is literally the meter action statistics counters per traffic class. That's the whole vibe. π
π For the record: defined at line266of filerte_table_action.h. Not me memorizing line numbers, but also yes I am. iykyk.
π₯ FIELD DOCUMENTATION
β uint64_t n_packets[RTE_COLORS]
The number of packets per color, counted at the output of the traffic metering and before the policer actions are executed. π¨
Only valid when n_packets_valid is non-zero β like, if that flag says no, this number is not your business, okay? π
π Definition at line271of filerte_table_action.h.
π¦ uint64_t n_bytes[RTE_COLORS]
The number of packet bytes per color, also counted at the output of the traffic metering and before the policer actions are executed. Same energy, byte flavored. π
Only valid when n_bytes_valid is non-zero. Respect the flag, bestie. π
π Definition at line277of filerte_table_action.h.
π int n_packets_valid
When this is non-zero, the n_packets field is valid. That's it, that's the whole job. It's a vibes-check flag and it passed. β
π Definition at line280of filerte_table_action.h.
β¨ int n_bytes_valid
When this is non-zero, the n_bytes field is valid. Twins with the one above but for bytes β they're matching, it's iconic. π
π Definition at line283of filerte_table_action.h.
π AUTHOR
Generated automatically by Doxygen for DPDK from the source code. So like, don't come for the prose, a robot wrote it π§ β no cap, it did the work and I just gave it a personality. π«Ά
mwah, that's the page! π this diva was served up by DPDK Version 26.03.0 and its friendly local man-page section rte_table_...ounters_tc(3) β go off, king π β¨
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms