Home | History | Annotate | Download | only in sch

Lines Matching full:ceil

118 		rtnl_copy_ratespec(&d->ch_ceil, &opts.ceil);
120 d->ch_cbuffer = rtnl_tc_calc_bufsize(opts.cbuffer, opts.ceil.rate);
193 nl_dump(p, " ceil %.2f%s/s (%.0f%s) log %u",
298 /* if not set, configured rate is used as ceil, which implies no borrowing */
300 rtnl_rcopy_ratespec(&opts.ceil, &d->ch_ceil);
302 memcpy(&opts.ceil, &opts.rate, sizeof(struct tc_ratespec));
304 if (opts.ceil.cell_log == UINT8_MAX)
305 opts.ceil.cell_log = compute_cell(opts.ceil.rate, mtu);
317 cbuffer = opts.ceil.rate / nl_get_hz() + mtu;
319 opts.cbuffer = rtnl_tc_calc_txtime(cbuffer, opts.ceil.rate);
331 opts.ceil.mpu = mpu | (overhead << 8);
341 1 << opts.ceil.cell_log,
342 opts.ceil.rate);
423 * Set ceil of HTB class.
425 * @arg ceil New ceil in bytes per second.
427 void rtnl_htb_set_ceil(struct rtnl_class *class, uint32_t ceil)
434 d->ch_ceil.rs_rate = ceil;
454 * Set size of the ceil bucket of HTB class.