Lines Matching defs:lmax
149 * which is log_2(lmax/weight), but we never reference it
157 int lmax;
260 u32 lmax, u32 weight)
265 agg->lmax = lmax;
270 u32 lmax, u32 weight)
275 if (agg->lmax == lmax && agg->class_weight == weight)
299 agg->budgetmax = new_num_classes * agg->lmax;
379 /* Move class to a new aggregate, matching the new class weight and/or lmax */
381 u32 lmax)
386 /* 'lmax' can range from [QFQ_MIN_LMAX, pktlen + stab overhead] */
387 if (lmax > QFQ_MAX_LMAX)
390 new_agg = qfq_find_agg(q, lmax, weight);
395 qfq_init_agg(q, new_agg, lmax, weight);
412 u32 weight, lmax, inv_w;
432 lmax = nla_get_u32(tb[TCA_QFQ_LMAX]);
435 lmax = psched_mtu(qdisc_dev(sch));
436 if (lmax < QFQ_MIN_LMAX || lmax > QFQ_MAX_LMAX) {
447 lmax == cl->agg->lmax &&
479 cl->deficit = lmax;
501 new_agg = qfq_find_agg(q, lmax, weight);
511 qfq_init_agg(q, new_agg, lmax, weight);
631 nla_put_u32(skb, TCA_QFQ_LMAX, cl->agg->lmax))
649 xstats.lmax = cl->agg->lmax;
868 * weight of a class is increased or the lmax (max_pkt_size) of the
995 cl->deficit += agg->lmax;
1157 /* If lmax is lowered, through qfq_change_class, for a class
1159 * of lmax, then the following condition may hold.
1236 if (unlikely(cl->agg->lmax < len)) {
1238 cl->agg->lmax, len, cl->common.classid);
1275 cl->deficit = agg->lmax;