commit | 038784a9dfc2180dde36d34a92cb4427eb1e928f | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Thu Oct 31 11:42:16 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 31 10:54:47 2019 -0700 |
tree | 4e28ffd32dc76010b73bbb3e29dcb69f14093193 | |
parent | d0846ce9aa9096e53e532a1c36c57efe63509b26 [diff] |
mlxsw: spectrum: Introduce resource for getting offset of 4 lanes split port In Spectrum-3 the modules have 8 lanes, so split by count 2 results in two split ports each of 4 lanes. Add a resource that can be used to obtain local port offset in that case. 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>