DPDK  23.07.0
Data Fields
rte_sched_subport_stats Struct Reference

#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

Examples:
examples/qos_sched/stats.c.

Definition at line 234 of file rte_sched.h.

Field Documentation

◆ n_pkts_tc

Number of packets successfully written

Examples:
examples/qos_sched/stats.c.

Definition at line 236 of file rte_sched.h.

◆ n_pkts_tc_dropped

uint64_t n_pkts_tc_dropped[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE]

Number of packets dropped

Examples:
examples/qos_sched/stats.c.

Definition at line 239 of file rte_sched.h.

◆ n_bytes_tc

uint64_t n_bytes_tc[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE]

Number of bytes successfully written for each traffic class

Examples:
examples/qos_sched/stats.c.

Definition at line 242 of file rte_sched.h.

◆ n_bytes_tc_dropped

uint64_t n_bytes_tc_dropped[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE]

Number of bytes dropped for each traffic class

Examples:
examples/qos_sched/stats.c.

Definition at line 245 of file rte_sched.h.

◆ n_pkts_cman_dropped

uint64_t n_pkts_cman_dropped[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE]

Number of packets dropped by congestion management scheme

Definition at line 248 of file rte_sched.h.


The documentation for this struct was generated from the following file: