Lines Matching refs:lmax
160 int lmax; member
266 u32 lmax, u32 weight) in qfq_init_agg() argument
271 agg->lmax = lmax; in qfq_init_agg()
276 u32 lmax, u32 weight) in qfq_find_agg() argument
281 if (agg->lmax == lmax && agg->class_weight == weight) in qfq_find_agg()
305 agg->budgetmax = new_num_classes * agg->lmax; in qfq_update_agg()
387 u32 lmax) in qfq_change_agg() argument
390 struct qfq_aggregate *new_agg = qfq_find_agg(q, lmax, weight); in qfq_change_agg()
396 qfq_init_agg(q, new_agg, lmax, weight); in qfq_change_agg()
412 u32 weight, lmax, inv_w; in qfq_change_class() local
435 lmax = nla_get_u32(tb[TCA_QFQ_LMAX]); in qfq_change_class()
436 if (lmax < QFQ_MIN_LMAX || lmax > (1UL << QFQ_MTU_SHIFT)) { in qfq_change_class()
437 pr_notice("qfq: invalid max length %u\n", lmax); in qfq_change_class()
441 lmax = psched_mtu(qdisc_dev(sch)); in qfq_change_class()
447 lmax == cl->agg->lmax && in qfq_change_class()
479 cl->deficit = lmax; in qfq_change_class()
503 new_agg = qfq_find_agg(q, lmax, weight); in qfq_change_class()
513 qfq_init_agg(q, new_agg, lmax, weight); in qfq_change_class()
646 nla_put_u32(skb, TCA_QFQ_LMAX, cl->agg->lmax)) in qfq_dump_class()
664 xstats.lmax = cl->agg->lmax; in qfq_dump_class_stats()
1005 cl->deficit += agg->lmax; in agg_dequeue()
1233 if (unlikely(cl->agg->lmax < qdisc_pkt_len(skb))) { in qfq_enqueue()
1235 cl->agg->lmax, qdisc_pkt_len(skb), cl->common.classid); in qfq_enqueue()
1267 cl->deficit = agg->lmax; in qfq_enqueue()