DPDK  17.05.2
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/ip_pipeline/pipeline/pipeline_flow_actions.c, examples/ip_pipeline/pipeline/pipeline_flow_actions_be.c, and examples/qos_meter/main.c.

Definition at line 78 of file rte_meter.h.

Field Documentation

uint64_t cir

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

Examples:
examples/ip_pipeline/pipeline/pipeline_flow_actions.c, examples/ip_pipeline/pipeline/pipeline_flow_actions_be.c, and examples/qos_meter/main.c.

Definition at line 79 of file rte_meter.h.

uint64_t pir

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

Examples:
examples/ip_pipeline/pipeline/pipeline_flow_actions.c, and examples/ip_pipeline/pipeline/pipeline_flow_actions_be.c.

Definition at line 80 of file rte_meter.h.

uint64_t cbs

Committed Burst Size (CBS). Measured in byes.

Examples:
examples/ip_pipeline/pipeline/pipeline_flow_actions.c, and examples/ip_pipeline/pipeline/pipeline_flow_actions_be.c.

Definition at line 81 of file rte_meter.h.

uint64_t pbs

Peak Burst Size (PBS). Measured in bytes.

Examples:
examples/ip_pipeline/pipeline/pipeline_flow_actions.c, and examples/ip_pipeline/pipeline/pipeline_flow_actions_be.c.

Definition at line 82 of file rte_meter.h.


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