luci-app-sqm: add use_mq config option
authorJonas Köppeler <redacted>
Wed, 18 Feb 2026 12:08:04 +0000 (13:08 +0100)
committerToke Høiland-Jørgensen <redacted>
Wed, 25 Feb 2026 14:37:32 +0000 (15:37 +0100)
Adds mq config option for luci-app-sqm. This controls the use_mq config
option of the sqm scripts.

Signed-off-by: Jonas Köppeler <redacted>
applications/luci-app-sqm/htdocs/luci-static/resources/view/network/sqm.js

index 6acb25fa7a8d2799e958ca294c649d4c2bd43699..2ebf8ece448baffe1bb7f8383192c1c7c95f92ad 100644 (file)
@@ -133,6 +133,10 @@ return view.extend({
                o = s.taboption("tab_qdisc", form.Flag, "qdisc_advanced", _("Advanced Configuration"), _("Advanced options will only be used as long as this box is checked."));
                o.default = false;
 
+               o = s.taboption("tab_qdisc", form.Flag, "use_mq", _("Enable multi-queue config"), _("Enable multi-queue qdisc on supported hardware. If .qos script does not support mq this option is ignored."));
+               o.default = false;
+               o.depends("qdisc_advanced", "1");
+
                o = s.taboption("tab_qdisc", form.ListValue, "squash_dscp", _("Squash DSCP (ingress)"), _("Squash DSCP markings on inbound packets"));
                o.value("1", "SQUASH");
                o.value("0", "DO NOT SQUASH");
git clone https://git.99rst.org/PROJECT