commit | 013da297911830882611c4ae4764117dacf6713f | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Thu Oct 31 11:42:18 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 31 10:54:47 2019 -0700 |
tree | 2c9191cb1167701b93ef484e308aba8087d5c8cd | |
parent | 49185277cc451ebae894456384cc8996e8ec4fdc [diff] |
mlxsw: spectrum: Use port_module_max_width to compute base port index Instead of using constant value, use port_module_max_width which is aligned with the cluster size. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Shalom Toledo <shalomt@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>