Home
last modified time | relevance | path

Searched refs:qth_min (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/include/net/
A Dred.h129 u32 qth_min; /* Min avg length threshold: Wlog scaled */ member
170 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()
179 if (qth_max < qth_min) in red_check_params()
230 u32 qth_min, u32 qth_max, u8 Wlog, u8 Plog, in red_set_parms() argument
233 int delta = qth_max - qth_min; in red_set_parms()
236 p->qth_min = qth_min << Wlog; in red_set_parms()
257 p->target_min = qth_min + 2*delta; in red_set_parms()
258 p->target_max = qth_min + 3*delta; in red_set_parms()
389 return !(((qavg - p->qth_min) >> p->Wlog) * v->qcount < v->qR); in red_mark_probability()
[all …]
/linux-6.3-rc2/net/sched/
A Dsch_choke.c225 if (q->vars.qavg <= p->qth_min) in choke_enqueue()
363 if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog, ctl->Scell_log, stab)) in choke_change()
411 red_set_parms(&q->parms, ctl->qth_min, ctl->qth_max, ctl->Wlog, in choke_change()
438 .qth_min = q->parms.qth_min >> q->parms.Wlog, in choke_dump()
A Dsch_red.c198 opt.set.min = q->parms.qth_min >> q->parms.Wlog; in red_offload()
255 if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog, in __red_change()
292 ctl->qth_min, ctl->qth_max, ctl->Wlog, in __red_change()
414 .qth_min = q->parms.qth_min >> q->parms.Wlog, in red_dump()
A Dsch_sfq.c649 if (ctl_v1 && !red_check_params(ctl_v1->qth_min, ctl_v1->qth_max, in sfq_change()
652 if (ctl_v1 && ctl_v1->qth_min) { in sfq_change()
675 ctl_v1->qth_min, ctl_v1->qth_max, in sfq_change()
805 opt.qth_min = p->qth_min >> p->Wlog; in sfq_dump()
A Dsch_gred.c341 opt->set.tab[i].min = q->parms.qth_min >> q->parms.Wlog; in gred_offload()
490 if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog, ctl->Scell_log, stab)) { in gred_change_vq()
514 ctl->qth_min, ctl->qth_max, ctl->Wlog, ctl->Plog, in gred_change_vq()
826 opt.qth_min = q->parms.qth_min >> q->parms.Wlog; in gred_dump()
/linux-6.3-rc2/tools/include/uapi/linux/
A Dpkt_sched.h235 __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
/linux-6.3-rc2/include/uapi/linux/
A Dpkt_sched.h236 __u32 qth_min; /* Min average length threshold (bytes) */ member
269 __u32 qth_min; /* Min average length threshold (bytes) */ member
348 __u32 qth_min; /* Min average length threshold (bytes) */ member
388 __u32 qth_min; /* Min average threshold (packets) */ member

Completed in 21 milliseconds