/kernel/linux/linux-5.10/include/net/ |
H A D | red.h | 50 qth_min - bytes (should be < qth_max/2) 51 qth_max - bytes (should be at least 2*qth_min and less limit) 57 max_P = (qth_max-qth_min)/2^Plog; 59 F.e. if qth_max=128K and qth_min=32K, then Plog=22 103 * target :[qth_min + 0.4*(qth_min - qth_max), 104 * qth_min + 0.6*(qth_min - qth_max)]. 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 176 if (fls(qth_max) + Wlog >= 32) in red_check_params() 180 if (qth_max < qth_mi in red_check_params() 230 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 [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | red.h | 50 qth_min - bytes (should be < qth_max/2) 51 qth_max - bytes (should be at least 2*qth_min and less limit) 57 max_P = (qth_max-qth_min)/2^Plog; 59 F.e. if qth_max=128K and qth_min=32K, then Plog=22 103 * target :[qth_min + 0.4*(qth_min - qth_max), 104 * qth_min + 0.6*(qth_min - qth_max)]. 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_mi in red_check_params() 229 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 [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_choke.c | 239 if (q->vars.qavg > p->qth_max) { in choke_enqueue() 364 if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog, ctl->Scell_log, stab)) in choke_change() 412 red_set_parms(&q->parms, ctl->qth_min, ctl->qth_max, ctl->Wlog, in choke_change() 440 .qth_max = q->parms.qth_max >> q->parms.Wlog, in choke_dump()
|
H A D | sch_red.c | 26 limit - bytes (must be > qth_max + burst) 28 Hard limit on queue length, should be chosen >qth_max 199 opt.set.max = q->parms.qth_max >> 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() 418 .qth_max = q->parms.qth_max >> q->parms.Wlog, in red_dump()
|
H A D | sch_gred.c | 340 opt.set.tab[i].max = q->parms.qth_max >> q->parms.Wlog; in gred_offload() 483 if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog, ctl->Scell_log, stab)) { in gred_change_vq() 507 ctl->qth_min, ctl->qth_max, ctl->Wlog, ctl->Plog, in gred_change_vq() 816 opt.qth_max = q->parms.qth_max >> q->parms.Wlog; in gred_dump()
|
H A D | sch_sfq.c | 649 if (ctl_v1 && !red_check_params(ctl_v1->qth_min, ctl_v1->qth_max, in sfq_change() 675 ctl_v1->qth_min, ctl_v1->qth_max, in sfq_change() 806 opt.qth_max = p->qth_max >> p->Wlog; in sfq_dump()
|
/kernel/linux/linux-6.6/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() 439 .qth_max = q->parms.qth_max >> q->parms.Wlog, in choke_dump()
|
H A D | sch_red.c | 26 limit - bytes (must be > qth_max + burst) 28 Hard limit on queue length, should be chosen >qth_max 199 opt.set.max = q->parms.qth_max >> 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() 418 .qth_max = q->parms.qth_max >> q->parms.Wlog, in red_dump()
|
H A D | sch_sfq.c | 652 if (ctl_v1 && !red_check_params(ctl_v1->qth_min, ctl_v1->qth_max, in sfq_change() 678 ctl_v1->qth_min, ctl_v1->qth_max, in sfq_change() 809 opt.qth_max = p->qth_max >> p->Wlog; in sfq_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()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | pkt_sched.h | 141 __u32 qth_max; member 163 __u32 qth_max; member 192 __u32 qth_max; member 225 __u32 qth_max; member
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
H A D | pkt_sched.h | 236 __u32 qth_max; /* Max average length threshold (bytes) */ member 238 unsigned char Plog; /* log(P_max/(qth_max-qth_min)) */ 266 __u32 qth_max; /* Max average length threshold (bytes) */ member 268 unsigned char Plog; /* log(P_max/(qth_max-qth_min)) */ 329 __u32 qth_max; /* Max average length threshold (bytes) */ member 338 __u8 Plog; /* log(P_max/(qth_max-qth_min)) */ 369 __u32 qth_max; /* Max average threshold (packets) */ member 371 unsigned char Plog; /* log(P_max/(qth_max-qth_min)) */
|
/kernel/linux/linux-5.10/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)) */
|
/kernel/linux/linux-6.6/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)) */
|
/kernel/linux/linux-6.6/tools/include/uapi/linux/ |
H A D | pkt_sched.h | 236 __u32 qth_max; /* Max average length threshold (bytes) */ member 238 unsigned char Plog; /* log(P_max/(qth_max-qth_min)) */ 266 __u32 qth_max; /* Max average length threshold (bytes) */ member 268 unsigned char Plog; /* log(P_max/(qth_max-qth_min)) */ 329 __u32 qth_max; /* Max average length threshold (bytes) */ member 338 __u8 Plog; /* log(P_max/(qth_max-qth_min)) */ 369 __u32 qth_max; /* Max average threshold (packets) */ member 371 unsigned char Plog; /* log(P_max/(qth_max-qth_min)) */
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | pkt_sched.h | 154 __u32 qth_max; member 179 __u32 qth_max; member 234 __u32 qth_max; member 267 __u32 qth_max; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | pkt_sched.h | 154 __u32 qth_max; member 179 __u32 qth_max; member 234 __u32 qth_max; member 267 __u32 qth_max; member
|