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 if n_packets is actually telling the truth πŸ‘€
  • int n_bytes_valid β€” same energy, but for n_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 titled rte_table_...ounters_tc(3) because the header got a lil truncated, but the real name is rte_table_action_mtr_counters_tc and you knew that already, bestie πŸ‘‘βœ¨
πŸ“¦ where this page comes from