rte_mtr_stats(3)
π rte_mtr_stats π
okay bestie, welcome to the rte_mtr_stats(3) page β it's a Library Functions Manual situation, and it's genuinely one of the shortest glow-ups in the DPDK cinematic universe. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
rte_mtr_stats β the stats counter struct, no cap π
β¨ SYNOPSIS β¨
#include <rte_mtr.h>
π Data Fields π
uint64_t n_pkts [RTE_COLORS]uint64_t n_bytes [RTE_COLORS]uint64_t n_pkts_droppeduint64_t n_bytes_dropped
β¨ Detailed Description β¨
It's giving statistics counters. that's the whole vibe, that's the whole description π¦
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). yes girly, per color β you get one of these for each of the RTE_COLORS, so it's an array, not a single lonely number β¨
Definition at line 92 of file rte_mtr.h.
πΈ uint64_t n_bytes[RTE_COLORS] πΈ
Number of bytes passed by the policer (per color). same energy as n_pkts, just counted in bytes this time, and again, one per color π
Definition at line 95 of file rte_mtr.h.
πΈ uint64_t n_pkts_dropped πΈ
Number of packets dropped by the policer. the sad counter π one plain counter, no per-color array, just receipts.
Definition at line 98 of file rte_mtr.h.
πΈ uint64_t n_bytes_dropped πΈ
Number of bytes passed by the policer.
okay bestie, real talk: that is exactly what the doc says for this field. we are simply the messenger here π Definition at line 101 of file rte_mtr.h.
β¨ Author β¨
Generated automatically by Doxygen for DPDK from the source code. not a human, not a group chat, a whole documentation generator π§
and that's the page, bestie!! four fields, four line numbers, zero plot twists (except that one description, and we've made our peace with it ποΈ). go forth and read your counters πβ¨
π
this lil rewrite covers DPDK, Version 25.11.3 β rte_mtr_stats(3), signing off, mwah ππ
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms