diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2014-11-10 14:14:26 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-11-10 14:16:47 +0300 |
commit | ca0d0010a85300b6959d7b6ccba52ab101915c0b (patch) | |
tree | 7f24aed9ed95ce7ae98b54fa65fd82f5c71caf69 /accel-pppd/accel-ppp.conf.5 | |
parent | b276238f8721849c364cf718f854c7b07a706254 (diff) | |
download | accel-ppp-ca0d0010a85300b6959d7b6ccba52ab101915c0b.tar.gz accel-ppp-ca0d0010a85300b6959d7b6ccba52ab101915c0b.zip |
shaper: fixed passing quantum parameter to kernel
shaper: introduced moderate-quantum option
If fixed quantum is not specified and moderate-quantum is specified then shaper module
will check for quantum value to be in valid range (1000-200000).
This suppresses annoying kernel messages.
Remark: quantum is rate/r2q, rate is in bytes/sec.
Diffstat (limited to 'accel-pppd/accel-ppp.conf.5')
-rw-r--r-- | accel-pppd/accel-ppp.conf.5 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pppd/accel-ppp.conf.5 b/accel-pppd/accel-ppp.conf.5 index 27e8f3d0..e29d418b 100644 --- a/accel-pppd/accel-ppp.conf.5 +++ b/accel-pppd/accel-ppp.conf.5 @@ -872,6 +872,9 @@ Specifies r2q parameter of root htb qdisc. .BI "quantum=" n Specifies quantum parameter of htb classes. .TP +.BI "moderate-quantum=" 1|0 +If fixed quantum is not specified and this option is specified then shaper module will check for quantum value is valid (in range 1000-200000). +.TP .BI "up-limiter=" police|htb Specifes upstream rate limiting method. .TP |