diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2021-11-26 14:20:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-29 15:05:52 +0300 |
commit | 2551dc9e398c37a15e52122d385c29a8b06be45f (patch) | |
tree | 668a4d90feac8dd4e2a4ffd12037cf5314b5a526 /net | |
parent | e9f7099d0730341b24c057acbf545dd019581db6 (diff) | |
download | linux-2551dc9e398c37a15e52122d385c29a8b06be45f.tar.xz |
net: mvneta: Add TC traffic shaping offload
The mvneta controller is able to do some tocken-bucket per-queue traffic
shaping. This commit adds support for setting these using the TC mqprio
interface.
The token-bucket parameters are customisable, but the current
implementation configures them to have a 10kbps resolution for the
rate limitation, since it allows to cover the whole range of max_rate
values from 10kbps to 5Gbps with 10kbps increments.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions