tc interprets kbps to mean bytes
you need to use the 'kbit' suffix to get it to interpret the values
in kilobits per second. Which is how everyone else interprets kbps
@@ -202,9 +202,9 @@ impl KernelInterface {
&format!("1:{}", class_id),
"htb",
"rate",
- &format!("{}kbps", min_bw),
+ &format!("{}kbit", min_bw),
"ceil",
- &format!("{}kbps", max_bw),
+ &format!("{}kbit", max_bw),
],
)?;
