rte_sched_subport_stats(3)

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

rte_sched_subport_stats(3) πŸ’– β€” subport stats, bestie

Ok so this is the rte_sched_subport_stats(3) page from the Library Functions Manual β€” yes, that’s the manual name, and we’re keeping it cute but factual. This whole page is about the subport statistics bundle, and it is lowkey just a very organized list of counters. Slay.


🌸 NAME 🌸

rte_sched_subport_stats β€” literally the subport statistics page. That’s the name, no cap.


✨ 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 β€” that’s the whole detailed description, bestie. Short and iconic.

The definition lives at line 234 of file rte_sched.h. Keep that receipt.


πŸŽ€ Field Documentation πŸŽ€

uint64_t n_pkts_tc[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE]

Number of packets successfully written β€” the good packets that made it through.

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. Sad but documented.

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 β€” yes, for each traffic class, so it’s per-class bytes that got written successfully.

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 β€” again, for each traffic class: the byte count that got dropped.

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 β€” CMAN said nope, and this counter keeps the receipt.

Definition at line 248 of file rte_sched.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. So yeah, Doxygen did the typing, not a human author. Respect the automation, fr fr.


Cute sign-off time 🫢: this page is from DPDK Version 26.03.0 β€” the footer info we got lists that version and no separate date, so that’s the whole source/version-and-date moment, bestie πŸ’–βœ¨

πŸ“¦ where this page comes from