Files
twx-linux/drivers
Amit Cohen fedb1b9c91 mlxsw: spectrum: Prevent force of 56G
[ Upstream commit 275e928f19 ]

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: 56ade8fe3f ("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>
2019-06-22 08:15:21 +02:00
..
2019-05-31 06:46:31 -07:00
2019-06-22 08:15:16 +02:00
2019-05-14 19:17:53 +02:00
2019-06-22 08:15:21 +02:00
2019-06-19 08:18:06 +02:00
2019-04-27 09:36:31 +02:00
2019-05-31 06:46:14 -07:00