qosify: add besteffort class and switch all default classifications to class names
authorFelix Fietkau <nbd@nbd.name>
Sun, 28 Nov 2021 10:45:25 +0000 (11:45 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 1 Dec 2021 15:39:12 +0000 (16:39 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/config/qosify/files/qosify-defaults.conf
package/network/config/qosify/files/qosify.conf

index 23408d54ccb6f3611d7e8153ef8df7dfec71ca2d..ff8a0bef5b172b89b229b645d75f9dd99709450b 100644 (file)
@@ -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
index ac3423a8d4a63a86207a48eb34b547892a8ce7d6..a293bbd60ddba68bffcb789c0d16b441939e2ee2 100644 (file)
@@ -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