DPDK  19.11.10
Data Fields
rte_meter_trtcm_params Struct Reference

#include <rte_meter.h>

Data Fields

uint64_t cir
 
uint64_t pir
 
uint64_t cbs
 
uint64_t pbs
 

Detailed Description

trTCM parameters per metered traffic flow. The CIR, PIR, CBS and PBS parameters only count bytes of IP packets and do not include link specific headers. PIR has to be greater than or equal to CIR. Both CBS or EBS have to be greater than zero.

Examples:
examples/qos_meter/main.c.

Definition at line 55 of file rte_meter.h.

Field Documentation

◆ cir

uint64_t cir

Committed Information Rate (CIR). Measured in bytes per second.

Examples:
examples/ip_pipeline/cli.c, and examples/qos_meter/main.c.

Definition at line 56 of file rte_meter.h.

◆ pir

uint64_t pir

Peak Information Rate (PIR). Measured in bytes per second.

Examples:
examples/ip_pipeline/cli.c.

Definition at line 57 of file rte_meter.h.

◆ cbs

uint64_t cbs

Committed Burst Size (CBS). Measured in bytes.

Examples:
examples/ip_pipeline/cli.c.

Definition at line 58 of file rte_meter.h.

◆ pbs

uint64_t pbs

Peak Burst Size (PBS). Measured in bytes.

Examples:
examples/ip_pipeline/cli.c.

Definition at line 59 of file rte_meter.h.


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