Home
last modified time | relevance | path

Searched refs:MAX_PROB (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/net/sched/
Dsch_pie.c48 (vars->prob < MAX_PROB / 5)) in pie_drop_early()
70 if (vars->accu_prob < (MAX_PROB / 100) * 85) in pie_drop_early()
72 if (vars->accu_prob >= (MAX_PROB / 2) * 17) in pie_drop_early()
99 } else if (q->params.ecn && (q->vars.prob <= MAX_PROB / 10) && in pie_qdisc_enqueue()
334 alpha = ((u64)params->alpha * (MAX_PROB / PSCHED_TICKS_PER_SEC)) >> 4; in pie_calculate_probability()
335 beta = ((u64)params->beta * (MAX_PROB / PSCHED_TICKS_PER_SEC)) >> 4; in pie_calculate_probability()
340 if (vars->prob < MAX_PROB / 10) { in pie_calculate_probability()
345 while (vars->prob < div_u64(MAX_PROB, power) && in pie_calculate_probability()
360 if (delta > (s64)(MAX_PROB / (100 / 2)) && in pie_calculate_probability()
361 vars->prob >= MAX_PROB / 10) in pie_calculate_probability()
[all …]
Dsch_fq_pie.c166 sel_flow->vars.prob <= (MAX_PROB / 100) * q->ecn_prob && in fq_pie_qdisc_enqueue()
/linux-6.1.9/include/net/
Dpie.h11 #define MAX_PROB (U64_MAX >> BITS_PER_BYTE) macro