Lines Matching refs:parms
42 struct red_parms parms; member
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()
341 opt->set.tab[i].min = q->parms.qth_min >> q->parms.Wlog; in gred_offload()
342 opt->set.tab[i].max = q->parms.qth_max >> q->parms.Wlog; in gred_offload()
345 opt->set.tab[i].probability = q->parms.max_P; in gred_offload()
511 red_set_parms(&q->parms, in gred_change_vq()
772 struct nlattr *parms, *vqs, *opts = NULL; in gred_dump() local
794 max_p[i] = q ? q->parms.max_P : 0; in gred_dump()
803 parms = nla_nest_start_noflag(skb, TCA_GRED_PARMS); in gred_dump()
804 if (parms == NULL) in gred_dump()
827 opt.qth_min = q->parms.qth_min >> q->parms.Wlog; in gred_dump()
828 opt.qth_max = q->parms.qth_max >> q->parms.Wlog; in gred_dump()
829 opt.Wlog = q->parms.Wlog; in gred_dump()
830 opt.Plog = q->parms.Plog; in gred_dump()
831 opt.Scell_log = q->parms.Scell_log; in gred_dump()
842 qavg = red_calc_qavg(&q->parms, &q->vars, in gred_dump()
843 q->vars.qavg >> q->parms.Wlog); in gred_dump()
844 opt.qave = qavg >> q->parms.Wlog; in gred_dump()
851 nla_nest_end(skb, parms); in gred_dump()