Lines Matching defs:lmax
147 * which is log_2(lmax/weight), but we never reference it
155 int lmax;
263 u32 lmax, u32 weight)
268 agg->lmax = lmax;
273 u32 lmax, u32 weight)
278 if (agg->lmax == lmax && agg->class_weight == weight)
302 agg->budgetmax = new_num_classes * agg->lmax;
382 /* Move class to a new aggregate, matching the new class weight and/or lmax */
384 u32 lmax)
389 /* 'lmax' can range from [QFQ_MIN_LMAX, pktlen + stab overhead] */
390 if (lmax > QFQ_MAX_LMAX)
393 new_agg = qfq_find_agg(q, lmax, weight);
398 qfq_init_agg(q, new_agg, lmax, weight);
415 u32 weight, lmax, inv_w, old_weight, old_lmax;
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) {
449 old_lmax = cl->agg->lmax;
451 if (lmax == old_lmax && weight == old_weight)
485 cl->deficit = lmax;
508 new_agg = qfq_find_agg(q, lmax, weight);
518 qfq_init_agg(q, new_agg, lmax, weight);
630 u32 class_weight, lmax;
642 lmax = cl->agg->lmax;
645 nla_put_u32(skb, TCA_QFQ_LMAX, lmax))
664 xstats.lmax = cl->agg->lmax;
876 * weight of a class is increased or the lmax (max_pkt_size) of the
1003 cl->deficit += agg->lmax;
1165 /* If lmax is lowered, through qfq_change_class, for a class
1167 * of lmax, then the following condition may hold.
1243 if (unlikely(cl->agg->lmax < len)) {
1245 cl->agg->lmax, len, cl->common.classid);
1280 cl->deficit = agg->lmax;