DPDK  20.11.6
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]
 

Detailed Description

Subport statistics

Examples:
examples/qos_sched/stats.c.

Definition at line 198 of file rte_sched.h.

Field Documentation

◆ n_pkts_tc

Number of packets successfully written

Examples:
examples/qos_sched/stats.c.

Definition at line 200 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 203 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 206 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 209 of file rte_sched.h.


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