|
DPDK 25.11.0
|
#include <rte_mtr.h>
Data Fields | |
| uint32_t | n_max |
| uint32_t | n_shared_max |
| int | identical |
| int | shared_identical |
| uint32_t | shared_n_flows_per_mtr_max |
| uint32_t | chaining_n_mtrs_per_flow_max |
| int | chaining_use_prev_mtr_color_supported |
| int | chaining_use_prev_mtr_color_enforced |
| uint32_t | meter_srtcm_rfc2697_n_max |
| uint32_t | meter_trtcm_rfc2698_n_max |
| uint32_t | meter_trtcm_rfc4115_n_max |
| uint64_t | meter_rate_max |
| uint64_t | meter_policy_n_max |
| int | color_aware_srtcm_rfc2697_supported |
| int | color_aware_trtcm_rfc2698_supported |
| int | color_aware_trtcm_rfc4115_supported |
| int | srtcm_rfc2697_byte_mode_supported |
| int | srtcm_rfc2697_packet_mode_supported |
| int | trtcm_rfc2698_byte_mode_supported |
| int | trtcm_rfc2698_packet_mode_supported |
| int | trtcm_rfc4115_byte_mode_supported |
| int | trtcm_rfc4115_packet_mode_supported |
| uint64_t | stats_mask |
| uint64_t | input_color_proto_mask |
| int | separate_input_color_table_per_port |
| uint32_t n_shared_max |
| int identical |
| int shared_identical |
| uint32_t shared_n_flows_per_mtr_max |
| uint32_t chaining_n_mtrs_per_flow_max |
| int chaining_use_prev_mtr_color_supported |
When non-zero, it indicates that the packet color identified by one MTR object can be used as the packet input color by any subsequent MTR object from the same flow. When zero, it indicates that the color determined by one MTR object is always ignored by any subsequent MTR object from the same flow. Only valid when MTR chaining is supported, i.e. chaining_n_mtrs_per_flow_max is greater than 1. When non-zero, it also means that the color aware mode is supported by at least one metering algorithm.
| int chaining_use_prev_mtr_color_enforced |
When non-zero, it indicates that the packet color identified by one MTR object is always used as the packet input color by any subsequent MTR object that is part of the same flow. When zero, it indicates that whether the color determined by one MTR object is either ignored or used as the packet input color by any subsequent MTR object from the same flow is individually configurable for each MTR object. Only valid when chaining_use_prev_mtr_color_supported is non-zero.
| uint32_t meter_srtcm_rfc2697_n_max |
| uint32_t meter_trtcm_rfc2698_n_max |
| uint32_t meter_trtcm_rfc4115_n_max |
| uint64_t meter_rate_max |
| uint64_t meter_policy_n_max |
| int color_aware_srtcm_rfc2697_supported |
| int color_aware_trtcm_rfc2698_supported |
| int color_aware_trtcm_rfc4115_supported |
| int srtcm_rfc2697_byte_mode_supported |
| int srtcm_rfc2697_packet_mode_supported |
| int trtcm_rfc2698_byte_mode_supported |
| int trtcm_rfc2698_packet_mode_supported |
| int trtcm_rfc4115_byte_mode_supported |
| int trtcm_rfc4115_packet_mode_supported |
| uint64_t stats_mask |
Set of supported statistics counter types.
| uint64_t input_color_proto_mask |
Set of supported input color protocol.
| int separate_input_color_table_per_port |