diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-06-17 10:55:33 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-06-17 11:02:27 +0000 |
commit | 04bdcbc8c271ef0286518bc8183a0f911beb16d5 (patch) | |
tree | 10e506d616b85e26482c87353c782984d05eaf5e /sphinx/Makefile | |
parent | 49e2822e9775c1c38a067bdc2e92ab5fd69eac95 (diff) | |
download | vyos-1x-04bdcbc8c271ef0286518bc8183a0f911beb16d5.tar.gz vyos-1x-04bdcbc8c271ef0286518bc8183a0f911beb16d5.zip |
T5296: Fix QoS class bandwidth calculation for auto and percent
There are wrong bandwidth calculations for the class
We shouldn't rely on interface speed but we should get this value
from 'shaper <tag> bandwidth xxx' if configured 'auto' or
bandwidth with '%'
Otherwise we can get unexpected rate for the class
% sudo cat /sys/class/net/eth0/speed
% -1
generated rate:
classid 1:17 htb rate -1000000
Fix this
Diffstat (limited to 'sphinx/Makefile')
0 files changed, 0 insertions, 0 deletions