rte_mtr_stats(3)

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

πŸŽ€ NAME πŸŽ€

rte_mtr_stats is the main character of this page, bestie β€” a DPDK Library Functions Manual entry all about Statistics counters. πŸ’…βœ¨


🌸 SYNOPSIS 🌸

#include <rte_mtr.h>

🧸 Data Fields 🧸

  • uint64_t n_pkts [RTE_COLORS] β€” how many packets passed the policer, counted per color. 🌈
  • uint64_t n_bytes [RTE_COLORS] β€” how many bytes passed the policer, counted per color. πŸ’–
  • uint64_t n_pkts_dropped β€” how many packets the policer dropped. πŸ’€
  • uint64_t n_bytes_dropped β€” the docs say this is the number of bytes passed by the policer. Yes, literally. Keep reading, bestie. πŸ™ˆ

✨ Detailed Description ✨

These are Statistics counters β€” the receipts, the numbers, the whole vibe check of your policer stats. 🫢

Definition at line 90 of file rte_mtr.h.


πŸ”₯ Field Documentation πŸ”₯

uint64_t n_pkts[RTE_COLORS]

Number of packets passed by the policer, per color. That [RTE_COLORS] is doing the β€œone counter per color” thing, iykyk. 🌈

Definition at line 92 of file rte_mtr.h.

uint64_t n_bytes[RTE_COLORS]

Number of bytes passed by the policer, per color. Byte girl summer. πŸ’–

Definition at line 95 of file rte_mtr.h.

uint64_t n_pkts_dropped

Number of packets dropped by the policer. The β€œoops, that packet didn’t make it” counter. πŸ’€

Definition at line 98 of file rte_mtr.h.

uint64_t n_bytes_dropped

Number of bytes passed by the policer. 🫠 Yes, bestie β€” that is literally what the docs say here: passed, even though the field name is n_bytes_dropped. I’m not fixing it, I’m just reporting it. πŸ™ˆ

Definition at line 101 of file rte_mtr.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. So the robots get the credit, not me. πŸ€–πŸ’…


Sign-off: this DPDK page is Version 26.03.0, rte_mtr_stats(3), and the footer has no date, so we’re closing with vibes only. Byeee! πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from