From d9f0415c1dceb418eac81ff16d6eaa78fe1f4743 Mon Sep 17 00:00:00 2001 From: diogo464 Date: Thu, 7 Aug 2025 11:28:44 +0100 Subject: fixed dmesg logs from tc there were messages similar to: HTB: quantum of class 10020 is small. Consider r2q change. that showed up when brining up the network. this commit fixes that. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 31f860b..839ddf8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1010,7 +1010,7 @@ fn machine_generate_configs( for iface in &["lo", machine.interface()] { machine_tc_commands.push(format!( - "qdisc add dev {iface} root handle 1: htb default 9999" + "qdisc add dev {iface} root handle 1: htb default 9999 r2q 100000" )); machine_tc_commands.push(format!( "class add dev {iface} parent 1: classid 1:9999 htb rate 10gbit" -- cgit