Searched refs:qth_max (Results 1 – 7 of 7) sorted by relevance
| /linux/include/net/ |
| H A D | red.h | 130 u32 qth_max; /* Max 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 175 if (fls(qth_max) + 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() 237 WRITE_ONCE(p->qth_max, qth_max << Wlog); in red_set_parms() 402 else if (qavg >= p->qth_max) in red_cmp_thresh()
|
| /linux/net/sched/ |
| H A D | sch_choke.c | 238 if (q->vars.qavg > p->qth_max) { 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() 440 .qth_max = READ_ONCE(q->parms.qth_max) >> Wlog, in choke_dump()
|
| H A D | sch_red.c | 201 opt.set.max = q->parms.qth_max >> q->parms.Wlog; in red_offload() 257 if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog, in __red_change() 294 ctl->qth_min, ctl->qth_max, ctl->Wlog, in __red_change() 420 .qth_max = q->parms.qth_max >> q->parms.Wlog, in red_dump()
|
| H A D | sch_gred.c | 342 opt->set.tab[i].max = q->parms.qth_max >> 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() 827 opt.qth_max = q->parms.qth_max >> q->parms.Wlog; in gred_dump()
|
| H A D | sch_sfq.c | 667 if (ctl_v1 && !red_check_params(ctl_v1->qth_min, ctl_v1->qth_max, in sfq_change() 700 ctl_v1->qth_min, ctl_v1->qth_max, in sfq_change() 848 opt.qth_max = p->qth_max >> p->Wlog; in sfq_dump()
|
| /linux/tools/include/uapi/linux/ |
| H A D | pkt_sched.h | 236 __u32 qth_max; /* Max average length threshold (bytes) */ member 266 __u32 qth_max; /* Max average length threshold (bytes) */ member 329 __u32 qth_max; /* Max average length threshold (bytes) */ member 369 __u32 qth_max; /* Max average threshold (packets) */ member
|
| /linux/include/uapi/linux/ |
| H A D | pkt_sched.h | 237 __u32 qth_max; /* Max average length threshold (bytes) */ member 239 unsigned char Plog; /* log(P_max/(qth_max-qth_min)) */ 270 __u32 qth_max; /* Max average length threshold (bytes) */ member 272 unsigned char Plog; /* log(P_max/(qth_max-qth_min)) */ 349 __u32 qth_max; /* Max average length threshold (bytes) */ member 358 __u8 Plog; /* log(P_max/(qth_max-qth_min)) */ 389 __u32 qth_max; /* Max average threshold (packets) */ member 391 unsigned char Plog; /* log(P_max/(qth_max-qth_min)) */
|