commit | 1e5ad30c649a82a062ce79a87c1296e6c6f328c2 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Mon Feb 15 13:19:53 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 17 15:52:58 2016 -0500 |
tree | e6053f642c71de6b683a487b19c30aca5b2a07c7 | |
parent | 853effc55b0f975abd6d318cca486a9c1b67e10f [diff] |
mlxsw: Treat local port 64 as valid MLXSW_PORT_MAX_PORTS represents the maximum number of local ports, which is 65 for both ASICs (SwitchX-2 and Spectrum) supported by this driver. Fixes: 93c1edb27f9e ("mlxsw: Introduce Mellanox switch driver core") Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>