Searched refs:max_P (Results 1 – 7 of 7) sorted by relevance
/linux/include/net/ |
A D | red.h | 133 u32 max_P; /* probability, [0 .. 1.0] 32 scaled */ member 232 u8 Scell_log, u8 *stab, u32 max_P) in red_set_parms() argument 244 if (!max_P) { in red_set_parms() 245 max_P = red_maxp(Plog); in red_set_parms() 246 max_P *= delta; /* max_P = (qth_max - qth_min)/2^Plog */ in red_set_parms() 248 p->max_P = max_P; in red_set_parms() 249 max_p_delta = max_P / delta; in red_set_parms() 457 if (qavg > p->target_max && p->max_P <= MAX_P_MAX) in red_adaptative_algo() 458 p->max_P += MAX_P_ALPHA(p->max_P); /* maxp = maxp + alpha */ in red_adaptative_algo() 459 else if (qavg < p->target_min && p->max_P >= MAX_P_MIN) in red_adaptative_algo() [all …]
|
/linux/net/sched/ |
A D | sch_red.c | 200 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() 433 nla_put_u32(skb, TCA_RED_MAX_P, q->parms.max_P) || in red_dump()
|
A D | sch_gred.c | 345 opt->set.tab[i].probability = q->parms.max_P; in gred_offload() 481 u8 *stab, u32 max_P, in gred_change_vq() argument 513 ctl->Scell_log, stab, max_P); in gred_change_vq() 648 u32 max_P; in gred_change() local 672 max_P = tb[TCA_GRED_MAX_P] ? nla_get_u32(tb[TCA_GRED_MAX_P]) : 0; in gred_change() 707 err = gred_change_vq(sch, ctl->DP, ctl, prio, stab, max_P, &prealloc, in gred_change() 794 max_p[i] = q ? q->parms.max_P : 0; in gred_dump()
|
A D | sch_choke.c | 347 u32 max_P; in choke_change() local 362 max_P = tb[TCA_CHOKE_MAX_P] ? nla_get_u32(tb[TCA_CHOKE_MAX_P]) : 0; in choke_change() 417 max_P); in choke_change() 453 nla_put_u32(skb, TCA_CHOKE_MAX_P, q->parms.max_P)) in choke_dump()
|
A D | sch_sfq.c | 679 ctl_v1->max_P); in sfq_change() 810 opt.max_P = p->max_P; in sfq_dump()
|
/linux/tools/include/uapi/linux/ |
A D | pkt_sched.h | 241 __u32 max_P; /* probability, high resolution */ member
|
/linux/include/uapi/linux/ |
A D | pkt_sched.h | 242 __u32 max_P; /* probability, high resolution */ member
|
Completed in 39 milliseconds