Searched refs:qth_min (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/include/net/ |
D | red.h | 130 u32 qth_min; /* Min avg length threshold: Wlog scaled */ 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() 177 if (qth_max < qth_min) in red_check_params() 183 u32 qth_min, u32 qth_max, u8 Wlog, u8 Plog, in red_set_parms() argument 186 int delta = qth_max - qth_min; in red_set_parms() 189 p->qth_min = qth_min << Wlog; in red_set_parms() 210 p->target_min = qth_min + 2*delta; in red_set_parms() 211 p->target_max = qth_min + 3*delta; in red_set_parms() 342 return !(((qavg - p->qth_min) >> p->Wlog) * v->qcount < v->qR); in red_mark_probability() [all …]
|
/Linux-v5.4/net/sched/ |
D | sch_red.c | 162 opt.set.min = q->parms.qth_min >> q->parms.Wlog; in red_offload() 216 if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog)) in red_change() 239 ctl->qth_min, ctl->qth_max, ctl->Wlog, in red_change() 306 .qth_min = q->parms.qth_min >> q->parms.Wlog, in red_dump()
|
D | sch_choke.c | 232 if (q->vars.qavg <= p->qth_min) in choke_enqueue() 370 if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog)) in choke_change() 418 red_set_parms(&q->parms, ctl->qth_min, ctl->qth_max, ctl->Wlog, in choke_change() 445 .qth_min = q->parms.qth_min >> q->parms.Wlog, in choke_dump()
|
D | sch_sfq.c | 640 if (ctl_v1 && !red_check_params(ctl_v1->qth_min, ctl_v1->qth_max, in sfq_change() 643 if (ctl_v1 && ctl_v1->qth_min) { in sfq_change() 666 ctl_v1->qth_min, ctl_v1->qth_max, in sfq_change() 796 opt.qth_min = p->qth_min >> p->Wlog; in sfq_dump()
|
D | sch_gred.c | 339 opt.set.tab[i].min = q->parms.qth_min >> 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()
|
/Linux-v5.4/include/uapi/linux/ |
D | pkt_sched.h | 236 __u32 qth_min; /* Min average length threshold (bytes) */ member 266 __u32 qth_min; /* Min average length threshold (bytes) */ member 329 __u32 qth_min; /* Min average length threshold (bytes) */ member 369 __u32 qth_min; /* Min average threshold (packets) */ member
|
/Linux-v5.4/tools/include/uapi/linux/ |
D | pkt_sched.h | 235 __u32 qth_min; /* Min average length threshold (bytes) */ member 265 __u32 qth_min; /* Min average length threshold (bytes) */ member 328 __u32 qth_min; /* Min average length threshold (bytes) */ member 368 __u32 qth_min; /* Min average threshold (packets) */ member
|