commit | fe07d723c00db23c1683a994fd57cc9b2aa9aaa2 | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@mellanox.com> | Thu Sep 20 09:21:27 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 20 07:46:01 2018 -0700 |
tree | d16bd06b6ffa4e0aa753dbc7900abeef928369ad | |
parent | 5f95d20b3a5ed571e14f9007c4346ebac76a0f58 [diff] |
mlxsw: spectrum_buffers: Keep shared buffer size in mlxsw_sp_sb Entities of infinite size will be reported as if they had the maximum size allowed by the chip. To that end, keep track of maximum shared buffer size in mlxsw_sp->sb. Signed-off-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>