diff options
| author | Petr Machata <petrm@nvidia.com> | 2020-09-16 09:35:22 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-09-16 15:19:30 -0700 |
| commit | e9c97e0ece6b89cfe1cb33f171c62917522c4ce3 (patch) | |
| tree | f128f8be2042ffd9a264c5d19858ec6ae57bc495 /tools/perf/scripts/python | |
| parent | mlxsw: spectrum_dcb: Convert ETS handler fully to mlxsw_sp_hdroom_configure() (diff) | |
| download | linux-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
