Lines Matching refs:lmax
156 int lmax; member
254 u32 lmax, u32 weight) in qfq_init_agg() argument
259 agg->lmax = lmax; in qfq_init_agg()
264 u32 lmax, u32 weight) in qfq_find_agg() argument
269 if (agg->lmax == lmax && agg->class_weight == weight) in qfq_find_agg()
293 agg->budgetmax = new_num_classes * agg->lmax; in qfq_update_agg()
375 u32 lmax) in qfq_change_agg() argument
378 struct qfq_aggregate *new_agg = qfq_find_agg(q, lmax, weight); in qfq_change_agg()
384 qfq_init_agg(q, new_agg, lmax, weight); in qfq_change_agg()
401 u32 weight, lmax, inv_w; in qfq_change_class() local
425 lmax = nla_get_u32(tb[TCA_QFQ_LMAX]); in qfq_change_class()
426 if (lmax < QFQ_MIN_LMAX || lmax > (1UL << QFQ_MTU_SHIFT)) { in qfq_change_class()
427 pr_notice("qfq: invalid max length %u\n", lmax); in qfq_change_class()
431 lmax = psched_mtu(qdisc_dev(sch)); in qfq_change_class()
437 lmax == cl->agg->lmax && in qfq_change_class()
469 cl->deficit = lmax; in qfq_change_class()
491 new_agg = qfq_find_agg(q, lmax, weight); in qfq_change_class()
501 qfq_init_agg(q, new_agg, lmax, weight); in qfq_change_class()
621 nla_put_u32(skb, TCA_QFQ_LMAX, cl->agg->lmax)) in qfq_dump_class()
639 xstats.lmax = cl->agg->lmax; in qfq_dump_class_stats()
982 cl->deficit += agg->lmax; in agg_dequeue()
1214 if (unlikely(cl->agg->lmax < len)) { in qfq_enqueue()
1216 cl->agg->lmax, len, cl->common.classid); in qfq_enqueue()
1253 cl->deficit = agg->lmax; in qfq_enqueue()