Home
last modified time | relevance | path

Searched refs:pa_const (Results 1 – 2 of 2) sorted by relevance

/dpdk/lib/sched/
H A Drte_red.h62 …uint32_t pa_const; /**< Precomputed constant value used for pa calculation (scaled in fixed-point … member
288 if (red_cfg->pa_const <= pa_num_count) in __rte_red_drop()
291 pa_den = red_cfg->pa_const - pa_num_count; in __rte_red_drop()
H A Drte_red.c124 red_cfg->pa_const = (2 * (max_th - min_th) * maxp_inv) << RTE_RED_SCALING; in rte_red_config_init()