diff options
author | Shalom Toledo <shalomt@mellanox.com> | 2019-05-02 14:13:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-04 01:21:36 -0400 |
commit | fd321c6c2380a27ee8bf0ead91029a88f23e5dc9 (patch) | |
tree | 5048b2771cc139d489a18f04df96b80a82df050d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4fa050d29c76e0f304cd96ce91bced8f343698a5 (diff) |
mlxsw: spectrum: split base on local_ports_in_{1x, 2x} resources
When splitting a port, different local ports need to be mapped on different
systems. For example:
SN3700 (local_ports_in_2x=2):
* Without split:
front panel 1 --> local port 1
front panel 2 --> local port 5
* Split to 2:
front panel 1s0 --> local port 1
front panel 1s1 --> local port 3
front panel 2 --> local port 5
SN3800 (local_ports_in_2x=1):
* Without split:
front panel 1 --> local port 1
front panel 2 --> local port 3
* Split to 2:
front panel 1s0 --> local port 1
front panel 1s1 --> local port 2
front panel 2 --> local port 3
The local_ports_in_{1x, 2x} resources provide the offsets from the base
local ports according to which the new local ports can be calculated.
Signed-off-by: Shalom Toledo <shalomt@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions