rte_table_...ounters_tc(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… 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 line 266 of file rte_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 line 271 of file rte_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 line 277 of file rte_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 line 280 of file rte_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 line 283 of file rte_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