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()
388 u32 lmax) in qfq_change_agg() argument
391 struct qfq_aggregate *new_agg = qfq_find_agg(q, lmax, weight); in qfq_change_agg()
397 qfq_init_agg(q, new_agg, lmax, weight); in qfq_change_agg()
413 u32 weight, lmax, inv_w; in qfq_change_class() local
436 lmax = nla_get_u32(tb[TCA_QFQ_LMAX]); in qfq_change_class()
437 if (lmax < QFQ_MIN_LMAX || lmax > (1UL << QFQ_MTU_SHIFT)) { in qfq_change_class()
438 pr_notice("qfq: invalid max length %u\n", lmax); in qfq_change_class()
442 lmax = psched_mtu(qdisc_dev(sch)); in qfq_change_class()
448 lmax == cl->agg->lmax && in qfq_change_class()
480 cl->deficit = lmax; in qfq_change_class()
504 new_agg = qfq_find_agg(q, lmax, weight); in qfq_change_class()
514 qfq_init_agg(q, new_agg, lmax, weight); in qfq_change_class()
651 nla_put_u32(skb, TCA_QFQ_LMAX, cl->agg->lmax)) in qfq_dump_class()
669 xstats.lmax = cl->agg->lmax; in qfq_dump_class_stats()
1010 cl->deficit += agg->lmax; in agg_dequeue()
1238 if (unlikely(cl->agg->lmax < qdisc_pkt_len(skb))) { in qfq_enqueue()
1240 cl->agg->lmax, qdisc_pkt_len(skb), cl->common.classid); in qfq_enqueue()
1272 cl->deficit = agg->lmax; in qfq_enqueue()