Lines Matching defs:lmax
147 * which is log_2(lmax/weight), but we never reference it
155 int lmax;
258 u32 lmax, u32 weight)
263 agg->lmax = lmax;
268 u32 lmax, u32 weight)
273 if (agg->lmax == lmax && agg->class_weight == weight)
297 agg->budgetmax = new_num_classes * agg->lmax;
377 /* Move class to a new aggregate, matching the new class weight and/or lmax */
379 u32 lmax)
384 /* 'lmax' can range from [QFQ_MIN_LMAX, pktlen + stab overhead] */
385 if (lmax > QFQ_MAX_LMAX)
388 new_agg = qfq_find_agg(q, lmax, weight);
393 qfq_init_agg(q, new_agg, lmax, weight);
410 u32 weight, lmax, inv_w;
430 lmax = nla_get_u32(tb[TCA_QFQ_LMAX]);
433 lmax = psched_mtu(qdisc_dev(sch));
434 if (lmax < QFQ_MIN_LMAX || lmax > QFQ_MAX_LMAX) {
445 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);
634 nla_put_u32(skb, TCA_QFQ_LMAX, cl->agg->lmax))
652 xstats.lmax = cl->agg->lmax;
863 * weight of a class is increased or the lmax (max_pkt_size) of the
990 cl->deficit += agg->lmax;
1152 /* If lmax is lowered, through qfq_change_class, for a class
1154 * of lmax, then the following condition may hold.
1231 if (unlikely(cl->agg->lmax < len)) {
1233 cl->agg->lmax, len, cl->common.classid);
1269 cl->deficit = agg->lmax;