DPDK  21.02.0
Data Fields
rte_mtr_meter_profile Struct Reference

#include <rte_mtr.h>

Data Fields

enum rte_mtr_algorithm alg
 
uint64_t cir
 
uint64_t cbs
 
uint64_t ebs
 
struct {
   uint64_t   cir
 
   uint64_t   cbs
 
   uint64_t   ebs
 
srtcm_rfc2697
 
uint64_t pir
 
uint64_t pbs
 
struct {
   uint64_t   cir
 
   uint64_t   pir
 
   uint64_t   cbs
 
   uint64_t   pbs
 
trtcm_rfc2698
 
uint64_t eir
 
struct {
   uint64_t   cir
 
   uint64_t   eir
 
   uint64_t   cbs
 
   uint64_t   ebs
 
trtcm_rfc4115
 

Detailed Description

Meter profile

Definition at line 127 of file rte_mtr.h.

Field Documentation

Traffic metering algorithm.

Definition at line 129 of file rte_mtr.h.

uint64_t cir

Committed Information Rate (CIR) (bytes/second).

Definition at line 136 of file rte_mtr.h.

uint64_t cbs

Committed Burst Size (CBS) (bytes).

Committed Burst Size (CBS) (byes).

Definition at line 139 of file rte_mtr.h.

uint64_t ebs

Excess Burst Size (EBS) (bytes).

Definition at line 142 of file rte_mtr.h.

struct { ... } srtcm_rfc2697

Items only valid when alg is set to srTCM - RFC 2697.

uint64_t pir

Peak Information Rate (PIR) (bytes/second).

Definition at line 151 of file rte_mtr.h.

uint64_t pbs

Peak Burst Size (PBS) (bytes).

Definition at line 157 of file rte_mtr.h.

struct { ... } trtcm_rfc2698

Items only valid when alg is set to trTCM - RFC 2698.

uint64_t eir

Excess Information Rate (EIR) (bytes/second).

Definition at line 166 of file rte_mtr.h.

struct { ... } trtcm_rfc4115

Items only valid when alg is set to trTCM - RFC 4115.


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