cxgbetool: Allow max-rate > 10Gbps for rate-limited traffic.
Sponsored by: Chelsio Communications
This commit is contained in:
parent
00dc8270d5
commit
93e452dbc0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301516
@ -2526,9 +2526,9 @@ sched_class(int argc, const char *argv[])
|
|||||||
errs++;
|
errs++;
|
||||||
}
|
}
|
||||||
if (op.u.params.ratemode == SCHED_CLASS_RATEMODE_ABS &&
|
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 "
|
warnx("sched params \"max-rate\" takes "
|
||||||
"value(1-10000000) for rate-mode absolute");
|
"value(1-100000000) for rate-mode absolute");
|
||||||
errs++;
|
errs++;
|
||||||
}
|
}
|
||||||
if (op.u.params.maxrate > 0 &&
|
if (op.u.params.maxrate > 0 &&
|
||||||
|
Loading…
Reference in New Issue
Block a user