commit | ff9fdfec5f96e9e70469775da498226a1aaa8a68 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Mon Jan 20 09:52:52 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 20 13:25:46 2020 +0100 |
tree | 0cea8d15bb2e80ed551dcfd590da76d397ff6fc2 | |
parent | 31c25b949813292e2f85b0e8708b767e55aba093 [diff] |
mlxsw: spectrum: Fix SPAN egress mirroring buffer size for Spectrum-2 For SPAN egress mirroring buffer size, it is needed to use a different formula for Spectrum and Spectrum-2. Move the buffer size computation to ops and implement new formula for Spectrum-2. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>