API Reference Manual
1.46.0
|
TM scheduler parameters. More...
#include <traffic_mngr.h>
Data Fields | |
odp_tm_sched_mode_t | sched_modes [ODP_TM_MAX_PRIORITIES] |
sched_modes indicates whether weighted scheduling should be used or not - on a priority basis. More... | |
uint32_t | sched_weights [ODP_TM_MAX_PRIORITIES] |
In the case that sched_modes for a given strict priority level indicates the use of weighted scheduling, this field supplies the weighting factors. More... | |
TM scheduler parameters.
Use odp_tm_sched_params_init() to initialize parameters into their default values.
Definition at line 1222 of file api/spec/traffic_mngr.h.
odp_tm_sched_mode_t odp_tm_sched_params_t::sched_modes[ODP_TM_MAX_PRIORITIES] |
sched_modes indicates whether weighted scheduling should be used or not - on a priority basis.
The default value is ODP_TM_BYTE_BASED_WEIGHTS for all priorities
Definition at line 1226 of file api/spec/traffic_mngr.h.
uint32_t odp_tm_sched_params_t::sched_weights[ODP_TM_MAX_PRIORITIES] |
In the case that sched_modes for a given strict priority level indicates the use of weighted scheduling, this field supplies the weighting factors.
The weights - when defined - are used such that the (adjusted) frame lengths are divided by these weights (i.e. they are divisors and not multipliers). Consequently a weight of 0 (when sched_mode is ODP_TM_BYTE_BASED_WEIGHTS) is illegal.
Definition at line 1235 of file api/spec/traffic_mngr.h.