aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2020-09-16 09:35:22 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-16 15:19:30 -0700
commite9c97e0ece6b89cfe1cb33f171c62917522c4ce3 (patch)
treef128f8be2042ffd9a264c5d19858ec6ae57bc495 /tools/perf/scripts/python
parentmlxsw: spectrum_dcb: Convert ETS handler fully to mlxsw_sp_hdroom_configure() (diff)
downloadlinux-e9c97e0ece6b89cfe1cb33f171c62917522c4ce3.tar.gz
linux-e9c97e0ece6b89cfe1cb33f171c62917522c4ce3.zip
mlxsw: spectrum_dcb: Convert mlxsw_sp_port_pg_prio_map() to hdroom code
The new hdroom code has certain conventions: iteration over priorities is done through a variable named `prio', configuration is not pushed unless it is dirty, but a `force' flag can be used to override this, updated configuration is written to port. Convert the function mlxsw_sp_port_pg_prio_map() to use these conventions and rename appropriately to fit in. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions