Lines Matching full:rate
36 " r2q DRR quantums are computed as rate in Bps/r2q {10}\n"
39 "... class add ... htb rate R1 [burst B1] [mpu B] [overhead O]\n"
42 " rate rate allocated to this class (class can still borrow)\n"
44 " mpu minimum packet size used in rate computations\n"
45 " overhead per-packet size overhead used in rate computations\n"
47 " ceil definite upper class rate (no borrows) {rate}\n"
49 " mtu max packet size we create rate map for {1600}\n"
189 } else if (strcmp(*argv, "rate") == 0) {
192 fprintf(stderr, "Double \"rate\" spec\n");
196 explain1("rate");
215 fprintf(stderr, "\"rate\" is required.\n");
218 /* if ceil params are missing, use the same as rate */
222 opt.rate.rate = (rate64 >= (1ULL << 32)) ? ~0U : rate64;
223 opt.ceil.rate = (ceil64 >= (1ULL << 32)) ? ~0U : ceil64;
225 /* compute minimal allowed burst from rate; mtu is added here to make
233 opt.rate.overhead = overhead;
236 opt.rate.mpu = mpu;
238 if (tc_calc_rtable(&opt.rate, rtab, cell_log, mtu, linklayer) < 0) {
239 fprintf(stderr, "htb: failed to calculate rate table.\n");
245 fprintf(stderr, "htb: failed to calculate ceil rate table.\n");
294 rate64 = hopt->rate.rate;
300 ceil64 = hopt->ceil.rate;
305 fprintf(f, "rate %s ", sprint_rate(rate64, b1));
306 if (hopt->rate.overhead)
307 fprintf(f, "overhead %u ", hopt->rate.overhead);
312 linklayer = (hopt->rate.linklayer & TC_LINKLAYER_MASK);
318 1<<hopt->rate.cell_log,
319 sprint_size(hopt->rate.mpu&0xFF, b2),
320 sprint_size((hopt->rate.mpu>>8)&0xFF, b3));