Home
last modified time | relevance | path

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

/linux-6.1.9/include/net/
Dred.h293 long us_idle = min_t(s64, delta, p->Scell_max); in red_calc_qavg_from_idle_time() local
316 shift = p->Stab[(us_idle >> p->Scell_log) & RED_STAB_MASK]; in red_calc_qavg_from_idle_time()
328 us_idle = (v->qavg * (u64)us_idle) >> p->Scell_log; in red_calc_qavg_from_idle_time()
330 if (us_idle < (v->qavg >> 1)) in red_calc_qavg_from_idle_time()
331 return v->qavg - us_idle; in red_calc_qavg_from_idle_time()