Searched refs:qavg (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/include/net/ |
D | red.h | 151 unsigned long qavg; /* Average queue length: Wlog scaled */ member 166 v->qavg = 0; in red_set_vars() 238 v->qavg = 0; in red_restart() 272 return v->qavg >> shift; in red_calc_qavg_from_idle_time() 281 us_idle = (v->qavg * (u64)us_idle) >> p->Scell_log; in red_calc_qavg_from_idle_time() 283 if (us_idle < (v->qavg >> 1)) in red_calc_qavg_from_idle_time() 284 return v->qavg - us_idle; in red_calc_qavg_from_idle_time() 286 return v->qavg >> 1; in red_calc_qavg_from_idle_time() 303 return v->qavg + (backlog - (v->qavg >> p->Wlog)); in red_calc_qavg_no_idle_time() 324 unsigned long qavg) in red_mark_probability() argument [all …]
|
/Linux-v5.4/net/sched/ |
D | sch_gred.c | 130 q->vars.qavg = table->wred_set.qavg; in gred_load_wred_set() 137 table->wred_set.qavg = q->vars.qavg; in gred_store_wred_set() 169 unsigned long qavg = 0; in gred_enqueue() local 200 qavg += t->tab[i]->vars.qavg; in gred_enqueue() 211 q->vars.qavg = red_calc_qavg(&q->parms, in gred_enqueue() 221 switch (red_action(&q->parms, &q->vars, q->vars.qavg + qavg)) { in gred_enqueue() 798 unsigned long qavg; in gred_dump() local 830 qavg = red_calc_qavg(&q->parms, &q->vars, in gred_dump() 831 q->vars.qavg >> q->parms.Wlog); in gred_dump() 832 opt.qave = qavg >> q->parms.Wlog; in gred_dump()
|
D | sch_choke.c | 227 q->vars.qavg = red_calc_qavg(p, &q->vars, sch->q.qlen); in choke_enqueue() 232 if (q->vars.qavg <= p->qth_min) in choke_enqueue() 245 if (q->vars.qavg > p->qth_max) { in choke_enqueue() 257 if (red_mark_probability(p, &q->vars, q->vars.qavg)) { in choke_enqueue()
|
D | sch_red.c | 64 q->vars.qavg = red_calc_qavg(&q->parms, in red_enqueue() 71 switch (red_action(&q->parms, &q->vars, q->vars.qavg)) { in red_enqueue()
|
D | sch_sfq.c | 379 slot->vars.qavg = red_calc_qavg_no_idle_time(q->red_parms, in sfq_enqueue() 384 slot->vars.qavg)) { in sfq_enqueue() 585 slot->vars.qavg = red_calc_qavg(q->red_parms, in sfq_rehash()
|