DPDK
2.0.0
|
#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] |
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.
uint32_t tb_rate |
Pipe token bucket rate (measured in bytes per second)
uint32_t tb_size |
Pipe token bucket size (measured in credits)
uint32_t tc_period |
Enforcement period for pipe traffic class rates (measured in milliseconds)
uint32_t tc_rate[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE] |
Pipe traffic class rates (measured in bytes per second)
uint8_t wrr_weights[RTE_SCHED_QUEUES_PER_PIPE] |
WRR weights for the queues of the current pipe