Searched refs:qth_max (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/include/net/ |
D | red.h | 131 u32 qth_max; /* Max 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 175 if (fls(qth_max) + 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() 190 p->qth_max = qth_max << Wlog; in red_set_parms() 355 else if (qavg >= p->qth_max) in red_cmp_thresh()
|
/Linux-v4.19/net/sched/ |
D | sch_red.c | 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() 320 .qth_max = q->parms.qth_max >> q->parms.Wlog, in red_dump()
|
D | sch_choke.c | 249 if (q->vars.qavg > p->qth_max) { in choke_enqueue() 373 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() 449 .qth_max = q->parms.qth_max >> q->parms.Wlog, in choke_dump()
|
D | sch_gred.c | 360 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() 550 opt.qth_max = q->parms.qth_max >> q->parms.Wlog; in gred_dump()
|
D | sch_sfq.c | 642 if (ctl_v1 && !red_check_params(ctl_v1->qth_min, ctl_v1->qth_max, in sfq_change() 668 ctl_v1->qth_min, ctl_v1->qth_max, in sfq_change() 799 opt.qth_max = p->qth_max >> p->Wlog; in sfq_dump()
|
/Linux-v4.19/include/uapi/linux/ |
D | pkt_sched.h | 236 __u32 qth_max; /* Max average length threshold (bytes) */ member 266 __u32 qth_max; /* Max average length threshold (bytes) */ member 302 __u32 qth_max; /* Max average length threshold (bytes) */ member 342 __u32 qth_max; /* Max average threshold (packets) */ member
|