rte_tm_node_stats(3)

✨ rte_tm_node_stats ✨

okay bestie, so this is a page from the DPDK library manual β€” rte_tm_node_stats(3), Library Functions Manual β€” and it's literally just the vibe breakdown of a struct πŸ’–


🌸 NAME 🌸

rte_tm_node_stats β€” no cap, that's the whole name, it's giving struct-with-the-receipts 🌈


πŸ¦‹ 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 πŸ’…

fr fr this is defined at line 130 of file rte_tm.h. iykyk.

πŸŽ€ Field Documentation πŸŽ€

πŸ’œ uint64_t n_pkts

Number of packets scheduled from current node.

Definition at line 132 of file rte_tm.h. ✨

πŸ’œ uint64_t n_bytes

Number of bytes scheduled from current node.

Definition at line 135 of file rte_tm.h. ✨

πŸ“ uint64_t n_pkts_dropped[RTE_COLORS]

Number of packets dropped by current leaf node per each color.

Definition at line 142 of file rte_tm.h. literally per-color receipts πŸŽ€

πŸ“ uint64_t n_bytes_dropped[RTE_COLORS]

Number of bytes dropped by current leaf node per each color.

Definition at line 147 of file rte_tm.h. same energy, but in bytes πŸ’…

🧚 uint64_t n_pkts_queued

Number of packets currently waiting in the packet queue of current leaf node.

Definition at line 152 of file rte_tm.h. them packets are in their waiting era 😭

🧚 uint64_t n_bytes_queued

Number of bytes currently waiting in the packet queue of current leaf node.

Definition at line 157 of file rte_tm.h. yes queen, hold the line 🌸

🫢 struct { ... } leaf

Statistics counters for leaf nodes only.

bestie this one's leaf-exclusive, don't be asking it about non-leaf nodes πŸ’–

🌈 Author 🌈

Generated automatically by Doxygen for DPDK from the source code. not me getting auto-generated 😭 iconic behaviour honestly πŸ’€βœ¨


and that's the whole page, bestie!! this one came from the DPDK crew, Version 25.11.3, and it's the rte_tm_node_stats(3) page β€” slay, go count some nodes πŸ’–πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from