diff options
author | Sergey V. Lobanov <sergey@lobanov.in> | 2024-04-11 01:27:18 +0200 |
---|---|---|
committer | Sergey V. Lobanov <sergey@lobanov.in> | 2024-04-11 09:40:10 +0200 |
commit | 3ec2d773950ed9730467062ebd4eeec5e9d8b35c (patch) | |
tree | 6aedeb28cef8772363fb1e387e9bcf9ed0785773 /accel-pppd/accel-ppp.conf.5 | |
parent | 3668336266cb74b6d37e5b56c9c5b74761a868fc (diff) | |
download | accel-ppp-3ec2d773950ed9730467062ebd4eeec5e9d8b35c.tar.gz accel-ppp-3ec2d773950ed9730467062ebd4eeec5e9d8b35c.zip |
shaper: add clsact policer support
Use the following configuration to enable clsact up and down limiters:
[shaper]
up-limiter=police
down-limiter=clsact
It is also recommended to set down-burst-factor=1.0
How to check current configuration in Linux:
tc qdisc show dev ppp0
tc filter show dev ppp0 egress
tc filter show dev ppp0 ingress
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
Diffstat (limited to 'accel-pppd/accel-ppp.conf.5')
-rw-r--r-- | accel-pppd/accel-ppp.conf.5 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/accel-ppp.conf.5 b/accel-pppd/accel-ppp.conf.5 index 93856fae..1086a4ce 100644 --- a/accel-pppd/accel-ppp.conf.5 +++ b/accel-pppd/accel-ppp.conf.5 @@ -1231,8 +1231,8 @@ Specifies the fwmark for traffic that won't be passed through shaper. .BI "up-limiter=" police|htb Specifes upstream rate limiting method. .TP -.BI "down-limiter=" tbf|htb -Specifies downstream rate limiting method. +.BI "down-limiter=" tbf|htb|clsact +Specifies downstream rate limiting method. \fIclsact\fR is a policer .TP .BI "leaf-qdisc=" "qdisc parameters" In case if htb is used as up-limiter or down-limiter specified leaf qdisc can be attached automatically. |