rte_tm_node_stats(3)

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

πŸ’– 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_pkts
  • uint64_t n_bytes
  • struct {
    • uint64_t n_pkts_dropped [RTE_COLORS]
    • uint64_t n_bytes_dropped [RTE_COLORS]
    • uint64_t n_pkts_queued
    • uint64_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