Searched refs:qth_max (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/include/net/
H A Dred.h49 qth_min - bytes (should be < qth_max/2)
50 qth_max - bytes (should be at least 2*qth_min and less limit)
56 max_P = (qth_max-qth_min)/2^Plog;
58 F.e. if qth_max=128K and qth_min=32K, then Plog=22
102 * target :[qth_min + 0.4*(qth_min - qth_max),
103 * qth_min + 0.6*(qth_min - qth_max)].
130 u32 qth_max; /* Max avg length threshold: Wlog scaled */ member in struct:red_parms
171 u32 qth_min, u32 qth_max, u8 Wlog, u8 Plog, red_set_parms()
174 int delta = qth_max - qth_min; red_set_parms()
178 p->qth_max = qth_max << Wlog; red_set_parms()
186 max_P *= delta; /* max_P = (qth_max - qth_min)/2^Plog */ red_set_parms()
317 (0..1/max_P)*(qth_max-qth_min) red_mark_probability()
326 max_P*(qavg - qth_min)/(qth_max-qth_min) < rnd/qcount red_mark_probability()
343 else if (qavg >= p->qth_max) red_cmp_thresh()
170 red_set_parms(struct red_parms *p, u32 qth_min, u32 qth_max, u8 Wlog, u8 Plog, u8 Scell_log, u8 *stab, u32 max_P) red_set_parms() argument
/linux-4.4.14/net/sched/
H A Dsch_red.c29 limit - bytes (must be > qth_max + burst)
31 Hard limit on queue length, should be chosen >qth_max
220 ctl->qth_min, ctl->qth_max, ctl->Wlog, red_change()
266 .qth_max = q->parms.qth_max >> q->parms.Wlog, red_dump()
H A Dsch_choke.c296 if (q->vars.qavg > p->qth_max) { choke_enqueue()
489 red_set_parms(&q->parms, ctl->qth_min, ctl->qth_max, ctl->Wlog, choke_change()
516 .qth_max = q->parms.qth_max >> q->parms.Wlog, choke_dump()
H A Dsch_gred.c410 ctl->qth_min, ctl->qth_max, ctl->Wlog, ctl->Plog, gred_change_vq()
577 opt.qth_max = q->parms.qth_max >> q->parms.Wlog; gred_dump()
H A Dsch_sfq.c656 ctl_v1->qth_min, ctl_v1->qth_max, sfq_change()
780 opt.qth_max = p->qth_max >> p->Wlog; sfq_dump()
/linux-4.4.14/include/uapi/linux/
H A Dpkt_sched.h214 __u32 qth_max; /* Max average length threshold (bytes) */ member in struct:tc_sfq_qopt_v1
216 unsigned char Plog; /* log(P_max/(qth_max-qth_min)) */
244 __u32 qth_max; /* Max average length threshold (bytes) */ member in struct:tc_red_qopt
246 unsigned char Plog; /* log(P_max/(qth_max-qth_min)) */
280 __u32 qth_max; /* Max average length threshold (bytes) */ member in struct:tc_gred_qopt
289 __u8 Plog; /* log(P_max/(qth_max-qth_min)) */
320 __u32 qth_max; /* Max average threshold (packets) */ member in struct:tc_choke_qopt
322 unsigned char Plog; /* log(P_max/(qth_max-qth_min)) */

Completed in 140 milliseconds