Home | History | Annotate | Download | only in sch

Lines Matching refs:mtu

201 		nl_dump(p, " mtu %u", d->ch_mtu);
255 static uint8_t compute_cell(uint32_t rate, uint32_t mtu)
258 while (mtu > 255) {
259 mtu >>= 1;
269 uint32_t mtu, rtable[RTNL_TC_RTABLE_SIZE], ctable[RTNL_TC_RTABLE_SIZE];
286 mtu = d->ch_mtu;
288 mtu = 1600; /* eth packet len */
296 opts.rate.cell_log = compute_cell(opts.rate.rate, mtu);
305 opts.ceil.cell_log = compute_cell(opts.ceil.rate, mtu);
310 buffer = opts.rate.rate / nl_get_hz() + mtu;
317 cbuffer = opts.ceil.rate / nl_get_hz() + mtu;
389 * Set MTU of the data link.
391 * @arg mtu New MTU in bytes.
393 * Sets MTU of the data link controlled by the HTB class.
394 * If not set, the Ethernet MTU (1600) is used.
396 void rtnl_htb_set_mtu(struct rtnl_class *class, uint32_t mtu)
402 d->ch_mtu = mtu;