Lines Matching refs:limit
22 if (likely(sch->qstats.backlog + qdisc_pkt_len(skb) <= sch->limit))
31 if (likely(sch->q.qlen < sch->limit))
42 if (likely(sch->q.qlen < sch->limit))
46 /* queue full, remove one skb to fulfill the limit */
103 u32 limit = qdisc_dev(sch)->tx_queue_len;
106 limit *= psched_mtu(qdisc_dev(sch));
108 sch->limit = limit;
115 sch->limit = ctl->limit;
119 bypass = sch->limit >= psched_mtu(qdisc_dev(sch));
121 bypass = sch->limit >= 1;
157 struct tc_fifo_qopt opt = { .limit = sch->limit };
227 int fifo_set_limit(struct Qdisc *q, unsigned int limit)
243 ((struct tc_fifo_qopt *)nla_data(nla))->limit = limit;
253 unsigned int limit,
262 err = fifo_set_limit(q, limit);