Home
last modified time | relevance | path

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

/linux-6.1.9/include/net/ !
Dred.h132 u32 max_P; /* probability, [0 .. 1.0] 32 scaled */ member
231 u8 Scell_log, u8 *stab, u32 max_P) in red_set_parms() argument
243 if (!max_P) { in red_set_parms()
244 max_P = red_maxp(Plog); in red_set_parms()
245 max_P *= delta; /* max_P = (qth_max - qth_min)/2^Plog */ in red_set_parms()
247 p->max_P = max_P; in red_set_parms()
248 max_p_delta = max_P / delta; in red_set_parms()
456 if (qavg > p->target_max && p->max_P <= MAX_P_MAX) in red_adaptative_algo()
457 p->max_P += MAX_P_ALPHA(p->max_P); /* maxp = maxp + alpha */ in red_adaptative_algo()
458 else if (qavg < p->target_min && p->max_P >= MAX_P_MIN) in red_adaptative_algo()
[all …]
/linux-6.1.9/net/sched/ !
Dsch_red.c200 opt.set.probability = q->parms.max_P; in red_offload()
244 u32 max_P; in __red_change() local
251 max_P = tb[TCA_RED_MAX_P] ? nla_get_u32(tb[TCA_RED_MAX_P]) : 0; in __red_change()
295 max_P); in __red_change()
430 nla_put_u32(skb, TCA_RED_MAX_P, q->parms.max_P) || in red_dump()
Dsch_choke.c344 u32 max_P; in choke_change() local
359 max_P = tb[TCA_CHOKE_MAX_P] ? nla_get_u32(tb[TCA_CHOKE_MAX_P]) : 0; in choke_change()
414 max_P); in choke_change()
450 nla_put_u32(skb, TCA_CHOKE_MAX_P, q->parms.max_P)) in choke_dump()
Dsch_gred.c345 opt->set.tab[i].probability = q->parms.max_P; in gred_offload()
483 u8 *stab, u32 max_P, in gred_change_vq() argument
515 ctl->Scell_log, stab, max_P); in gred_change_vq()
650 u32 max_P; in gred_change() local
671 max_P = tb[TCA_GRED_MAX_P] ? nla_get_u32(tb[TCA_GRED_MAX_P]) : 0; in gred_change()
706 err = gred_change_vq(sch, ctl->DP, ctl, prio, stab, max_P, &prealloc, in gred_change()
793 max_p[i] = q ? q->parms.max_P : 0; in gred_dump()
Dsch_sfq.c679 ctl_v1->max_P); in sfq_change()
810 opt.max_P = p->max_P; in sfq_dump()
/linux-6.1.9/tools/include/uapi/linux/ !
Dpkt_sched.h241 __u32 max_P; /* probability, high resolution */ member
/linux-6.1.9/include/uapi/linux/ !
Dpkt_sched.h242 __u32 max_P; /* probability, high resolution */ member