DPDK  22.11.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 235 of file rte_sched.h.

Field Documentation

◆ n_pkts_tc

Number of packets successfully written

Examples:
examples/qos_sched/stats.c.

Definition at line 237 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 240 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 243 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 246 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 249 of file rte_sched.h.


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