diff options
author | jhb <jhb@FreeBSD.org> | 2016-11-04 21:59:27 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-11-04 21:59:27 +0000 |
commit | 595d2547c0b22b2301e9f042dc56c5a21a9cdcc3 (patch) | |
tree | fc8a6cc126badd5a97dfb331be692fdc0fc2b2d5 /tools | |
parent | 628f14645d60c4194604e1518e040716d8ef641b (diff) | |
download | FreeBSD-src-595d2547c0b22b2301e9f042dc56c5a21a9cdcc3.zip FreeBSD-src-595d2547c0b22b2301e9f042dc56c5a21a9cdcc3.tar.gz |
MFC 301516,301520,301531,301535,301540,301542,301628: Traffic scheduling
updates.
301516:
cxgbetool: Allow max-rate > 10Gbps for rate-limited traffic.
301520:
cxgbe(4): Create a reusable struct type for scheduling class parameters.
301531:
cxgbe(4): Break up set_sched_class. Validate the channel number and
min/max rates against their actual limits (which are chip and port
specific) instead of hardcoded constants.
301535:
cxgbe(4): Track the state of the hardware traffic schedulers in the
driver. This works as long as everyone uses set_sched_class_params
to program them.
301540:
cxgbe(4): Provide information about traffic classes in the sysctl mib.
301542:
cxgbe(4): A couple of fixes to set_sched_queue.
- Validate the scheduling class against the actual limit (which is chip
specific) instead of a magic number.
- Return an error if an attempt is made to manipulate the tx queues of a
VI that hasn't been initialized.
301628:
cxgbe(4): Add a sysctl to manage the binding of a txq to a traffic class.
Sponsored by: Chelsio Communications
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/cxgbetool/cxgbetool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tools/cxgbetool/cxgbetool.c b/tools/tools/cxgbetool/cxgbetool.c index 4f78802..3d4cbfb 100644 --- a/tools/tools/cxgbetool/cxgbetool.c +++ b/tools/tools/cxgbetool/cxgbetool.c @@ -2526,9 +2526,9 @@ sched_class(int argc, const char *argv[]) errs++; } if (op.u.params.ratemode == SCHED_CLASS_RATEMODE_ABS && - !in_range(op.u.params.maxrate, 1, 10000000)) { + !in_range(op.u.params.maxrate, 1, 100000000)) { warnx("sched params \"max-rate\" takes " - "value(1-10000000) for rate-mode absolute"); + "value(1-100000000) for rate-mode absolute"); errs++; } if (op.u.params.maxrate > 0 && |