DPDK  24.07.0
Data Fields
rte_table_action_mtr_counters_tc Struct Reference

#include <rte_table_action.h>

Data Fields

uint64_t n_packets [RTE_COLORS]
 
uint64_t n_bytes [RTE_COLORS]
 
int n_packets_valid
 
int n_bytes_valid
 

Detailed Description

Meter action statistics counters per traffic class.

Definition at line 265 of file rte_table_action.h.

Field Documentation

◆ n_packets

uint64_t n_packets[RTE_COLORS]

Number of packets per color at the output of the traffic metering and before the policer actions are executed. Only valid when n_packets_valid is non-zero.

Definition at line 270 of file rte_table_action.h.

◆ n_bytes

uint64_t n_bytes[RTE_COLORS]

Number of packet bytes per color at the output of the traffic metering and before the policer actions are executed. Only valid when n_bytes_valid is non-zero.

Definition at line 276 of file rte_table_action.h.

◆ n_packets_valid

int n_packets_valid

When non-zero, the n_packets field is valid.

Definition at line 279 of file rte_table_action.h.

◆ n_bytes_valid

int n_bytes_valid

When non-zero, the n_bytes field is valid.

Definition at line 282 of file rte_table_action.h.


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