mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
cxgbetool: Allow max-rate > 10Gbps for rate-limited traffic.
Sponsored by: Chelsio Communications
This commit is contained in:
parent
00dc8270d5
commit
93e452dbc0
1 changed files with 2 additions and 2 deletions
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue