rte_tm_node_stats(3)
π rte_tm_node_stats π
okay so bestie, welcome to the manual page for rte_tm_node_stats(3) β yes that's the whole name, it's giving "just a struct" but it's literally in the DPDK Library Functions Manual, so. this is a node statistics counters situation and we're gonna read it together π«Ά
β¨ SYNOPSIS β¨
#include <rte_tm.h>
π Data Fields
uint64_t n_pktsuint64_t n_bytesstruct {uint64_t n_pkts_dropped [RTE_COLORS]uint64_t n_bytes_dropped [RTE_COLORS]uint64_t n_pkts_queueduint64_t n_bytes_queued
} leaf
πΈ Detailed Description πΈ
Node statistics counters. that's it, that's the whole vibe β it's the struct that holds the numbers for a node. no cap.
it's defined at line 130 of rte_tm.h, so if you ever need to go touch grass with the header file, that's where you'll find it β¨
π¦ Field Documentation π¦
π
uint64_t n_pkts
Number of packets scheduled from current node. like, how many packets this node has sent out into the world. main character energy fr fr.
Defined at line 132 of rte_tm.h.
π
uint64_t n_bytes
Number of bytes scheduled from current node. same idea as above, but counting bytes instead of packets β the packet count's taller sibling π
Defined at line 135 of rte_tm.h.
π uint64_t n_pkts_dropped[RTE_COLORS]
Number of packets dropped by current leaf node per each color. note that it's an array of size RTE_COLORS, so it's one counter per color β and it's leaf-node-only, so don't go looking for it on non-leaf nodes okay π
Defined at line 142 of rte_tm.h.
π uint64_t n_bytes_dropped[RTE_COLORS]
Number of bytes dropped by current leaf node per each color. same per-color array situation, except it's counting bytes. leaf nodes only, again π
Defined at line 147 of rte_tm.h.
β uint64_t n_pkts_queued
Number of packets currently waiting in the packet queue of current leaf node. present tense, bestie β this is a snapshot of the queue right now, not a lifetime total. leaf node only π
Defined at line 152 of rte_tm.h.
β uint64_t n_bytes_queued
Number of bytes currently waiting in the packet queue of current leaf node. same right-now snapshot energy, just in bytes. leaf node only πΈ
Defined at line 157 of rte_tm.h.
π§ struct { ... } leaf
Statistics counters for leaf nodes only. that's the whole field description and honestly it ate β the non-leaf girlies get n_pkts and n_bytes and that's it, the queued and dropped counters live in here π
π Author π
Generated automatically by Doxygen for DPDK from the source code. so no human wrote this, it's a robot's magnum opus, iconic honestly π€β¨
and that's the page!! π sign-off time: this is from DPDK, Version 26.03.0, and the footer's date slot is literally just rte_tm_node_stats(3) doing the most β so if you're citing it, cite the version and go off. mwah π π¦ π
π¦ 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