summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx4
diff options
context:
space:
mode:
authorAmit Cohen <amitc@mellanox.com>2019-05-29 10:59:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-22 08:09:15 +0200
commitf8d7891817dd2fd3ed983074f9631bf422ab00d1 (patch)
treeea80d96be1c391623ff5da6be057124b999689b6 /drivers/net/ethernet/mellanox/mlx4
parent16044c98e4d73f749e4afaa071618664d24b5da1 (diff)
mlxsw: spectrum: Prevent force of 56G
[ Upstream commit 275e928f19117d22f6d26dee94548baf4041b773 ] Force of 56G is not supported by hardware in Ethernet devices. This configuration fails with a bad parameter error from firmware. Add check of this case. Instead of trying to set 56G with autoneg off, return a meaningful error. Fixes: 56ade8fe3fe1 ("mlxsw: spectrum: Add initial support for Spectrum ASIC") Signed-off-by: Amit Cohen <amitc@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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4')
0 files changed, 0 insertions, 0 deletions