Skip to content

Comments

sqm: gate USE_MQ after loading the selected qdisc script#184

Open
pesa1234 wants to merge 1 commit intotohojo:mainfrom
pesa1234:fix-fallback-cake
Open

sqm: gate USE_MQ after loading the selected qdisc script#184
pesa1234 wants to merge 1 commit intotohojo:mainfrom
pesa1234:fix-fallback-cake

Conversation

@pesa1234
Copy link

@pesa1234 pesa1234 commented Feb 19, 2026

start-sqm sources defaults.sh before the selected *.qos script, so SUPPORT_MQ is not yet set at that point. This can force USE_MQ=0 even for scripts that declare SUPPORT_MQ=1 (e.g. piece_of_cake.qos).

Move the SUPPORT_MQ gate to start-sqm after loading the selected script, and keep per-interface cake_mq selection in select_cake().

I alreay see an other PR #183
So, feel free to close this one in any case is redundant

Run tested on openwrt snapshot with Gl.inet MT6000

start-sqm sources defaults.sh before the selected *.qos script, so SUPPORT_MQ is not yet set at that point. This can force USE_MQ=0 even for scripts that declare SUPPORT_MQ=1 (e.g. piece_of_cake.qos).

Move the SUPPORT_MQ gate to start-sqm after loading the selected script, and keep per-interface cake_mq selection in select_cake().

Signed-off-by: Andrea Pesaresi <andreapesaresi82@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant