DPDK  24.03.0-rc3
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 233 of file rte_sched.h.

Field Documentation

◆ n_pkts_tc

Number of packets successfully written

Examples:
examples/qos_sched/stats.c.

Definition at line 235 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 238 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 241 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 244 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 247 of file rte_sched.h.


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