mlxsw: spectrum: Add lowest_shaper_bs to struct mlxsw_sp
authorPetr Machata <petrm@mellanox.com>
Fri, 24 Jan 2020 13:23:12 +0000 (15:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Jan 2020 09:56:31 +0000 (10:56 +0100)
commit47259544e0fc0659f74f6ca6680745658969a803
tree3738be52d97f3646cb291d195a41e2de4783b56a
parent92afbfedb77d59a4077d292b88a316f3de706344
mlxsw: spectrum: Add lowest_shaper_bs to struct mlxsw_sp

Lower limit of burst size configuration is dependent on system type. Add a
datum to track the value. Initialize as appropriate in mlxsw_spX_init().

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.h