Home
last modified time | relevance | path

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

/openbmc/linux/include/net/
H A Dred.h165 v->qavg = 0; in red_set_vars()
285 v->qavg = 0; in red_restart()
319 return v->qavg >> shift; in red_calc_qavg_from_idle_time()
331 return v->qavg - us_idle; in red_calc_qavg_from_idle_time()
333 return v->qavg >> 1; in red_calc_qavg_from_idle_time()
350 return v->qavg + (backlog - (v->qavg >> p->Wlog)); in red_calc_qavg_no_idle_time()
400 if (qavg < p->qth_min) in red_cmp_thresh()
416 unsigned long qavg) in red_action() argument
446 unsigned long qavg; in red_adaptative_algo() local
449 qavg = v->qavg; in red_adaptative_algo()
[all …]
/openbmc/linux/net/sched/
H A Dsch_gred.c131 q->vars.qavg = table->wred_set.qavg; in gred_load_wred_set()
138 table->wred_set.qavg = q->vars.qavg; in gred_store_wred_set()
170 unsigned long qavg = 0; in gred_enqueue() local
201 qavg += t->tab[i]->vars.qavg; in gred_enqueue()
212 q->vars.qavg = red_calc_qavg(&q->parms, in gred_enqueue()
222 switch (red_action(&q->parms, &q->vars, q->vars.qavg + qavg)) { in gred_enqueue()
809 unsigned long qavg; in gred_dump() local
840 qavg = red_calc_qavg(&q->parms, &q->vars, in gred_dump()
841 q->vars.qavg >> q->parms.Wlog); in gred_dump()
842 opt.qave = qavg >> q->parms.Wlog; in gred_dump()
H A Dsch_choke.c220 q->vars.qavg = red_calc_qavg(p, &q->vars, sch->q.qlen); in choke_enqueue()
225 if (q->vars.qavg <= p->qth_min) in choke_enqueue()
238 if (q->vars.qavg > p->qth_max) { in choke_enqueue()
250 if (red_mark_probability(p, &q->vars, q->vars.qavg)) { in choke_enqueue()
H A Dsch_red.c78 q->vars.qavg = red_calc_qavg(&q->parms, in red_enqueue()
85 switch (red_action(&q->parms, &q->vars, q->vars.qavg)) { in red_enqueue()
H A Dsch_sfq.c379 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()