mlxsw: Treat local port 64 as valid
authorIdo Schimmel <idosch@mellanox.com>
Mon, 15 Feb 2016 12:19:53 +0000 (13:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2016 20:52:58 +0000 (15:52 -0500)
commit1e5ad30c649a82a062ce79a87c1296e6c6f328c2
treee6053f642c71de6b683a487b19c30aca5b2a07c7
parent853effc55b0f975abd6d318cca486a9c1b67e10f
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>
drivers/net/ethernet/mellanox/mlxsw/port.h