|
DPDK 25.11.0
|
#include <rte_mtr.h>
Data Fields | |
| enum rte_mtr_algorithm | alg |
| int | packet_mode |
| enum rte_mtr_algorithm alg |
| uint64_t cir |
| uint64_t cbs |
| struct { ... } srtcm_rfc2697 |
Items only valid when alg is set to srTCM - RFC 2697.
| uint64_t pir |
| struct { ... } trtcm_rfc2698 |
Items only valid when alg is set to trTCM - RFC 2698.
| uint64_t eir |
| struct { ... } trtcm_rfc4115 |
Items only valid when alg is set to trTCM - RFC 4115.
| int packet_mode |
When zero, the byte mode is enabled for the current profile, so the rate and size fields are specified in bytes per second and bytes, respectively. When non-zero, the packet mode is enabled for the current profile, so the rate and size fields are specified in packets per second and packets, respectively.