commit | 4c22f29f6369243af177ebfaaa2057aa620f5a64 | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@nvidia.com> | Wed Sep 16 09:35:24 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 16 15:19:30 2020 -0700 |
tree | 2935b9df3d54adc23a3e50eb6f596159f8a66b8d | |
parent | 7ace2c36aa8e797a4e163fda1f46433a86799b37 [diff] |
mlxsw: spectrum_buffers: Move here the new headroom code Move all the headroom code to the spectrum_buffers module, where it belongs. Rename mlxsw_sp_pg_buf_threshold_get() and mlxsw_sp_pg_buf_pack() to ..._hdroom_... to match the naming convention of the new headroom code. 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>