Searched refs:Wlog (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/include/net/ |
D | red.h | 140 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() 221 u32 qth_min, u32 qth_max, u8 Wlog, u8 Plog, in red_set_parms() argument 227 p->qth_min = qth_min << Wlog; in red_set_parms() 228 p->qth_max = qth_max << Wlog; in red_set_parms() 229 p->Wlog = Wlog; in red_set_parms() 341 return v->qavg + (backlog - (v->qavg >> p->Wlog)); in red_calc_qavg_no_idle_time() 380 return !(((qavg - p->qth_min) >> p->Wlog) * v->qcount < v->qR); in red_mark_probability() [all …]
|
/Linux-v5.10/net/sched/ |
D | sch_red.c | 198 opt.set.min = q->parms.qth_min >> q->parms.Wlog; in red_offload() 199 opt.set.max = q->parms.qth_max >> q->parms.Wlog; in red_offload() 253 if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog)) in __red_change() 289 ctl->qth_min, ctl->qth_max, ctl->Wlog, in __red_change() 414 .qth_min = q->parms.qth_min >> q->parms.Wlog, in red_dump() 415 .qth_max = q->parms.qth_max >> q->parms.Wlog, in red_dump() 416 .Wlog = q->parms.Wlog, in red_dump()
|
D | sch_choke.c | 365 if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog)) in choke_change() 413 red_set_parms(&q->parms, ctl->qth_min, ctl->qth_max, ctl->Wlog, in choke_change() 440 .qth_min = q->parms.qth_min >> q->parms.Wlog, in choke_dump() 441 .qth_max = q->parms.qth_max >> q->parms.Wlog, in choke_dump() 442 .Wlog = q->parms.Wlog, in choke_dump()
|
D | sch_gred.c | 339 opt.set.tab[i].min = q->parms.qth_min >> q->parms.Wlog; in gred_offload() 340 opt.set.tab[i].max = q->parms.qth_max >> q->parms.Wlog; in gred_offload() 483 if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog)) { in gred_change_vq() 507 ctl->qth_min, ctl->qth_max, ctl->Wlog, ctl->Plog, in gred_change_vq() 815 opt.qth_min = q->parms.qth_min >> q->parms.Wlog; in gred_dump() 816 opt.qth_max = q->parms.qth_max >> q->parms.Wlog; in gred_dump() 817 opt.Wlog = q->parms.Wlog; 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_sfq.c | 650 ctl_v1->Wlog)) in sfq_change() 676 ctl_v1->Wlog, in sfq_change() 805 opt.qth_min = p->qth_min >> p->Wlog; in sfq_dump() 806 opt.qth_max = p->qth_max >> p->Wlog; in sfq_dump() 807 opt.Wlog = p->Wlog; in sfq_dump()
|
/Linux-v5.10/tools/include/uapi/linux/ |
D | pkt_sched.h | 237 unsigned char Wlog; /* log(W) */ member 267 unsigned char Wlog; /* log(W) */ member 337 __u8 Wlog; /* log(W) */ member 370 unsigned char Wlog; /* log(W) */ member
|
/Linux-v5.10/include/uapi/linux/ |
D | pkt_sched.h | 238 unsigned char Wlog; /* log(W) */ member 271 unsigned char Wlog; /* log(W) */ member 357 __u8 Wlog; /* log(W) */ member 390 unsigned char Wlog; /* log(W) */ member
|