Home
last modified time | relevance | path

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

/linux-3.4.99/include/net/
Dred.h132 u32 max_P; /* probability, [0 .. 1.0] 32 scaled */ member
171 u8 Scell_log, u8 *stab, u32 max_P) in red_set_parms() argument
183 if (!max_P) { in red_set_parms()
184 max_P = red_maxp(Plog); in red_set_parms()
185 max_P *= delta; /* max_P = (qth_max - qth_min)/2^Plog */ in red_set_parms()
187 p->max_P = max_P; in red_set_parms()
188 max_p_delta = max_P / delta; in red_set_parms()
396 if (qavg > p->target_max && p->max_P <= MAX_P_MAX) in red_adaptative_algo()
397 p->max_P += MAX_P_ALPHA(p->max_P); /* maxp = maxp + alpha */ in red_adaptative_algo()
398 else if (qavg < p->target_min && p->max_P >= MAX_P_MIN) in red_adaptative_algo()
[all …]
/linux-3.4.99/net/sched/
Dsch_gred.c386 u8 *stab, u32 max_P, in gred_change_vq() argument
408 ctl->Scell_log, stab, max_P); in gred_change_vq()
427 u32 max_P; in gred_change() local
444 max_P = tb[TCA_GRED_MAX_P] ? nla_get_u32(tb[TCA_GRED_MAX_P]) : 0; in gred_change()
471 err = gred_change_vq(sch, ctl->DP, ctl, prio, stab, max_P, &prealloc); in gred_change()
529 max_p[i] = q ? q->parms.max_P : 0; in gred_dump()
Dsch_red.c186 u32 max_P; in red_change() local
199 max_P = tb[TCA_RED_MAX_P] ? nla_get_u32(tb[TCA_RED_MAX_P]) : 0; in red_change()
222 max_P); in red_change()
276 NLA_PUT_U32(skb, TCA_RED_MAX_P, q->parms.max_P); in red_dump()
Dsch_choke.c419 u32 max_P; in choke_change() local
432 max_P = tb[TCA_CHOKE_MAX_P] ? nla_get_u32(tb[TCA_CHOKE_MAX_P]) : 0; in choke_change()
484 max_P); in choke_change()
519 NLA_PUT_U32(skb, TCA_CHOKE_MAX_P, q->parms.max_P); in choke_dump()
Dsch_sfq.c681 ctl_v1->max_P); in sfq_change()
810 opt.max_P = p->max_P; in sfq_dump()
/linux-3.4.99/include/linux/
Dpkt_sched.h207 __u32 max_P; /* probability, high resolution */ member