DPDK  2.1.0
Data Fields
rte_sched_pipe_params Struct Reference

#include <rte_sched.h>

Data Fields

uint32_t tb_rate
uint32_t tb_size
uint32_t tc_rate [RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE]
uint32_t tc_period
uint8_t wrr_weights [RTE_SCHED_QUEUES_PER_PIPE]

Detailed Description

Pipe configuration parameters. The period and credits_per_period parameters are measured

in bytes, with one byte meaning the time duration associated with the transmission of one byte on the physical medium of the output port, with pipe or pipe traffic class rate (measured as percentage of output port rate) determined as credits_per_period divided by period. One credit represents one byte.

Definition at line 150 of file rte_sched.h.

Field Documentation

uint32_t tb_rate

Pipe token bucket rate (measured in bytes per second)

Definition at line 152 of file rte_sched.h.

uint32_t tb_size

Pipe token bucket size (measured in credits)

Definition at line 153 of file rte_sched.h.

Pipe traffic class rates (measured in bytes per second)

Definition at line 156 of file rte_sched.h.

uint32_t tc_period

Enforcement period for pipe traffic class rates (measured in milliseconds)

Definition at line 157 of file rte_sched.h.

uint8_t wrr_weights[RTE_SCHED_QUEUES_PER_PIPE]

WRR weights for the queues of the current pipe

Definition at line 163 of file rte_sched.h.


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