Re: [ovs-dev] [PATCH v4 2/7] netdev-linux: use speed as max rate in tc classes

2023-07-17 Thread Eelco Chaudron
On 17 Jul 2023, at 10:08, Adrian Moreno wrote: > Instead of relying on feature bits, use the speed value directly as > maximum rate for htb and hfsc classes. > > There is still a limitation with the maximum rate that we can express > with a 32-bit number in bytes/s (~ 34.3Gbps), but using the

[ovs-dev] [PATCH v4 2/7] netdev-linux: use speed as max rate in tc classes

2023-07-17 Thread Adrian Moreno
Instead of relying on feature bits, use the speed value directly as maximum rate for htb and hfsc classes. There is still a limitation with the maximum rate that we can express with a 32-bit number in bytes/s (~ 34.3Gbps), but using the actual link speed instead of the feature bits, we can at