DPDK  2.0.0
Data Fields
rte_sched_subport_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

Detailed Description

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.

Field Documentation

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)

Subport traffic class rates (measured in bytes per second)


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