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 |
Subport 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 |
Subport token bucket rate (measured in bytes per second)
uint32_t tb_size |
Subport token bucket size (measured in credits)
uint32_t tc_period |
Enforcement period for traffic class rates (measured in milliseconds)
uint32_t tc_rate[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE] |
Subport traffic class rates (measured in bytes per second)