aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorMaxime Chevallier <[email protected]>2021-11-26 12:20:56 +0100
committerDavid S. Miller <[email protected]>2021-11-29 12:05:52 +0000
commit2551dc9e398c37a15e52122d385c29a8b06be45f (patch)
tree668a4d90feac8dd4e2a4ffd12037cf5314b5a526 /tools/perf/scripts/python/netdev-times.py
parente9f7099d0730341b24c057acbf545dd019581db6 (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions