rte_mtr_stats(3)
π 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
- 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