From ac83015621cbffbbdadb7269503757c7d2c8260d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 28 Nov 2021 11:45:25 +0100 Subject: [PATCH] qosify: add besteffort class and switch all default classifications to class names Signed-off-by: Felix Fietkau --- .../config/qosify/files/qosify-defaults.conf | 20 +++++++++---------- .../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 -- 2.30.2