rte_sched_subport_stats(3)

πŸ’– rte_sched_subport_stats(3) πŸ’–

okay bestie, welcome to the Library Functions Manual page for rte_sched_subport_stats β€” yes that's the whole vibe, it's a struct, it's giving "I hold numbers about your subport and I do not elaborate" ✨


🌸 NAME 🌸

rte_sched_subport_stats β€” the struct that's literally just receipts for your subport πŸ“Š


✨ SYNOPSIS ✨

#include <rte_sched.h>

πŸŽ€ Data Fields πŸŽ€

uint64_t n_pkts_tc [RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE]
uint64_t n_pkts_tc_dropped [RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE]
uint64_t n_bytes_tc [RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE]
uint64_t n_bytes_tc_dropped [RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE]
uint64_t n_pkts_cman_dropped [RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE]

πŸ’… Detailed Description πŸ’…

Subport statistics

Definition at line 234 of file rte_sched.h.


🌈 Field Documentation 🌈

⭐ uint64_t n_pkts_tc[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE] ⭐

Number of packets successfully written β€” the ones that made it, no notes, thriving πŸ’–

Definition at line 236 of file rte_sched.h.


πŸ’€ uint64_t n_pkts_tc_dropped[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE] πŸ’€

Number of packets dropped β€” the ones that did not make it, rip fr fr 😭

Definition at line 239 of file rte_sched.h.


🌸 uint64_t n_bytes_tc[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE] 🌸

Number of bytes successfully written for each traffic class β€” byte-by-byte, per traffic class, we're counting it all 🫢

Definition at line 242 of file rte_sched.h.


πŸ¦‹ uint64_t n_bytes_tc_dropped[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE] πŸ¦‹

Number of bytes dropped for each traffic class β€” same energy as above but for the ones that got yeeted, per traffic class πŸ™ˆ

Definition at line 245 of file rte_sched.h.


πŸ‘‘ uint64_t n_pkts_cman_dropped[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE] πŸ‘‘

Number of packets dropped by congestion management scheme β€” not regular drops, these are the congestion-management-scheme drops, important distinction bestie, do not conflate 🎯

Definition at line 248 of file rte_sched.h.


🧚 Author 🧚

Generated automatically by Doxygen for DPDK from the source code. β€” yeah the robots wrote it, no author credits, it's giving AI before AI was a thing πŸ’€


psst β€” every single array up there is sized RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE, so that's one slot per traffic class per pipe, no cap ✨

okay that's the whole page!! this was DPDK, Version 25.11.3 β€” literally the rte_sched_subport_stats(3) manual, served fresh, and we ate πŸ“πŸ’… slay, go read your stats bestie, mwah πŸ’œ

πŸ“¦ where this page comes from