diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-11-28 11:45:25 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-12-01 16:39:12 +0100 |
commit | ac83015621cbffbbdadb7269503757c7d2c8260d (patch) | |
tree | 3f9fbf46ed4f6b88cb680f4159de4b10657a1990 | |
parent | 6832271ee74d408c49977995c44f102f33e731a1 (diff) | |
download | upstream-ac83015621cbffbbdadb7269503757c7d2c8260d.tar.gz upstream-ac83015621cbffbbdadb7269503757c7d2c8260d.tar.bz2 upstream-ac83015621cbffbbdadb7269503757c7d2c8260d.zip |
qosify: add besteffort class and switch all default classifications to class names
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r-- | package/network/config/qosify/files/qosify-defaults.conf | 20 | ||||
-rw-r--r-- | package/network/config/qosify/files/qosify.conf | 10 |
2 files changed, 17 insertions, 13 deletions
diff --git a/package/network/config/qosify/files/qosify-defaults.conf b/package/network/config/qosify/files/qosify-defaults.conf index 23408d54cc..ff8a0bef5b 100644 --- a/package/network/config/qosify/files/qosify-defaults.conf +++ b/package/network/config/qosify/files/qosify-defaults.conf @@ -1,17 +1,17 @@ # DNS -tcp:53 CS5 -tcp:5353 CS5 -udp:53 CS5 -udp:5353 CS5 +tcp:53 voice +tcp:5353 voice +udp:53 voice +udp:5353 voice # NTP -udp:123 CS6 +udp:123 voice # SSH -tcp:22 +CS4 +tcp:22 +video # HTTP/QUIC -tcp:80 +CS3 -tcp:443 +CS3 -udp:80 +CS3 -udp:443 +CS3 +tcp:80 +besteffort +tcp:443 +besteffort +udp:80 +besteffort +udp:443 +besteffort diff --git a/package/network/config/qosify/files/qosify.conf b/package/network/config/qosify/files/qosify.conf index ac3423a8d4..a293bbd60d 100644 --- a/package/network/config/qosify/files/qosify.conf +++ b/package/network/config/qosify/files/qosify.conf @@ -1,13 +1,17 @@ config defaults list defaults /etc/qosify/*.conf - option dscp_prio CS5 - option dscp_icmp +CS0 + option dscp_prio video + option dscp_icmp +besteffort option dscp_bulk bulk - option dscp_default_udp CS4 + option dscp_default_udp besteffort option bulk_trigger_timeout 5 option bulk_trigger_pps 100 option prio_max_avg_pkt_len 500 +config class besteffort + option ingress CS0 + option egress CS0 + config class bulk option ingress LE option egress LE |