commit | 0103a3e452d613a6cfc0824e3a86d946e9ab3eef | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@nvidia.com> | Wed Sep 16 09:35:16 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 16 15:19:29 2020 -0700 |
tree | 3fd3dae77b22b040a9d11341625d5fc3cdae74ad | |
parent | b7e07bbd4873c4ea3265fb403c3ebab9dd241db9 [diff] |
mlxsw: spectrum: Track MTU in struct mlxsw_sp_hdroom MTU influences sizes of auto-allocated buffers. Make it a part of port buffer configuration and have __mlxsw_sp_port_headroom_set() take it from there, instead of as an argument. 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>