aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2019-12-18 14:55:17 +0000
committerDavid S. Miller <[email protected]>2019-12-18 13:32:30 -0800
commit7917f52ae188b87de627a892b57646abfe5a82bc (patch)
treebf70a3d59832c6c1c72a6e9d775add3ccf5eb265 /tools/perf/scripts/python/net_dropmonitor.py
parentd35eb52bd2ac7557b62bda52668f2e64dde2cf90 (diff)
mlxsw: spectrum_qdisc: Generalize PRIO offload to support ETS
Thanks to the similarity between PRIO and ETS it is possible to simply reuse most of the code for offloading PRIO Qdisc. Extract the common functionality into separate functions, making the current PRIO handlers thin API adapters. Extend the new functions to pass quanta for individual bands, which allows configuring a subset of bands as WRR. Invoke mlxsw_sp_port_ets_set() as appropriate to de/configure WRR-ness and weight of individual bands. Signed-off-by: Petr Machata <[email protected]> Acked-by: Jiri Pirko <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions