[openwrt/openwrt] qosify: add besteffort class and switch all default classifications to class names

LEDE Commits lede-commits at lists.infradead.org
Wed Dec 1 07:40:25 PST 2021


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/ac83015621cbffbbdadb7269503757c7d2c8260d

commit ac83015621cbffbbdadb7269503757c7d2c8260d
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sun Nov 28 11:45:25 2021 +0100

    qosify: add besteffort class and switch all default classifications to class names
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 .../network/config/qosify/files/qosify-defaults.conf | 20 ++++++++++----------
 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



More information about the lede-commits mailing list