Home
last modified time | relevance | path

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

/Linux-v5.4/include/net/
Dred.h133 u32 max_P; /* probability, [0 .. 1.0] 32 scaled */ member
184 u8 Scell_log, u8 *stab, u32 max_P) in red_set_parms() argument
196 if (!max_P) { in red_set_parms()
197 max_P = red_maxp(Plog); in red_set_parms()
198 max_P *= delta; /* max_P = (qth_max - qth_min)/2^Plog */ in red_set_parms()
200 p->max_P = max_P; in red_set_parms()
201 max_p_delta = max_P / delta; in red_set_parms()
409 if (qavg > p->target_max && p->max_P <= MAX_P_MAX) in red_adaptative_algo()
410 p->max_P += MAX_P_ALPHA(p->max_P); /* maxp = maxp + alpha */ in red_adaptative_algo()
411 else if (qavg < p->target_min && p->max_P >= MAX_P_MIN) in red_adaptative_algo()
[all …]
/Linux-v5.4/net/sched/
Dsch_red.c164 opt.set.probability = q->parms.max_P; in red_offload()
199 u32 max_P; in red_change() local
213 max_P = tb[TCA_RED_MAX_P] ? nla_get_u32(tb[TCA_RED_MAX_P]) : 0; in red_change()
242 max_P); in red_change()
322 nla_put_u32(skb, TCA_RED_MAX_P, q->parms.max_P)) in red_dump()
Dsch_choke.c352 u32 max_P; in choke_change() local
366 max_P = tb[TCA_CHOKE_MAX_P] ? nla_get_u32(tb[TCA_CHOKE_MAX_P]) : 0; in choke_change()
421 max_P); in choke_change()
457 nla_put_u32(skb, TCA_CHOKE_MAX_P, q->parms.max_P)) in choke_dump()
Dsch_gred.c343 opt.set.tab[i].probability = q->parms.max_P; in gred_offload()
476 u8 *stab, u32 max_P, in gred_change_vq() argument
508 ctl->Scell_log, stab, max_P); in gred_change_vq()
643 u32 max_P; in gred_change() local
667 max_P = tb[TCA_GRED_MAX_P] ? nla_get_u32(tb[TCA_GRED_MAX_P]) : 0; in gred_change()
702 err = gred_change_vq(sch, ctl->DP, ctl, prio, stab, max_P, &prealloc, in gred_change()
782 max_p[i] = q ? q->parms.max_P : 0; in gred_dump()
Dsch_sfq.c670 ctl_v1->max_P); in sfq_change()
801 opt.max_P = p->max_P; in sfq_dump()
/Linux-v5.4/include/uapi/linux/
Dpkt_sched.h242 __u32 max_P; /* probability, high resolution */ member
/Linux-v5.4/tools/include/uapi/linux/
Dpkt_sched.h241 __u32 max_P; /* probability, high resolution */ member