cxgbetool: Allow max-rate > 10Gbps for rate-limited traffic.

Sponsored by:	Chelsio Communications
This commit is contained in:
Navdeep Parhar 2016-06-06 18:45:09 +00:00
parent 00dc8270d5
commit 93e452dbc0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301516

View File

@ -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 &&