Home
last modified time | relevance | path

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

/Linux-v4.19/include/net/
Dred.h140 u8 Wlog; /* log(W) */ member
171 static inline bool red_check_params(u32 qth_min, u32 qth_max, u8 Wlog) in red_check_params() argument
173 if (fls(qth_min) + Wlog > 32) in red_check_params()
175 if (fls(qth_max) + Wlog > 32) in red_check_params()
183 u32 qth_min, u32 qth_max, u8 Wlog, u8 Plog, in red_set_parms() argument
189 p->qth_min = qth_min << Wlog; in red_set_parms()
190 p->qth_max = qth_max << Wlog; in red_set_parms()
191 p->Wlog = Wlog; in red_set_parms()
303 return v->qavg + (backlog - (v->qavg >> p->Wlog)); in red_calc_qavg_no_idle_time()
342 return !(((qavg - p->qth_min) >> p->Wlog) * v->qcount < v->qR); in red_mark_probability()
[all …]
/Linux-v4.19/net/sched/
Dsch_red.c166 opt.set.min = q->parms.qth_min >> q->parms.Wlog; in red_offload()
167 opt.set.max = q->parms.qth_max >> q->parms.Wlog; in red_offload()
217 if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog)) in red_change()
241 ctl->qth_min, ctl->qth_max, ctl->Wlog, in red_change()
319 .qth_min = q->parms.qth_min >> q->parms.Wlog, in red_dump()
320 .qth_max = q->parms.qth_max >> q->parms.Wlog, in red_dump()
321 .Wlog = q->parms.Wlog, in red_dump()
Dsch_gred.c360 if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog)) in gred_change_vq()
381 ctl->qth_min, ctl->qth_max, ctl->Wlog, ctl->Plog, in gred_change_vq()
549 opt.qth_min = q->parms.qth_min >> q->parms.Wlog; in gred_dump()
550 opt.qth_max = q->parms.qth_max >> q->parms.Wlog; in gred_dump()
551 opt.Wlog = q->parms.Wlog; in gred_dump()
565 q->vars.qavg >> q->parms.Wlog); in gred_dump()
566 opt.qave = qavg >> q->parms.Wlog; in gred_dump()
Dsch_choke.c373 if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog)) in choke_change()
421 red_set_parms(&q->parms, ctl->qth_min, ctl->qth_max, ctl->Wlog, in choke_change()
448 .qth_min = q->parms.qth_min >> q->parms.Wlog, in choke_dump()
449 .qth_max = q->parms.qth_max >> q->parms.Wlog, in choke_dump()
450 .Wlog = q->parms.Wlog, in choke_dump()
Dsch_sfq.c643 ctl_v1->Wlog)) in sfq_change()
669 ctl_v1->Wlog, in sfq_change()
798 opt.qth_min = p->qth_min >> p->Wlog; in sfq_dump()
799 opt.qth_max = p->qth_max >> p->Wlog; in sfq_dump()
800 opt.Wlog = p->Wlog; in sfq_dump()
/Linux-v4.19/include/uapi/linux/
Dpkt_sched.h237 unsigned char Wlog; /* log(W) */ member
267 unsigned char Wlog; /* log(W) */ member
310 __u8 Wlog; /* log(W) */ member
343 unsigned char Wlog; /* log(W) */ member