diff options
author | Mitch Williams <mitch.a.williams@intel.com> | 2018-10-26 14:33:28 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-13 08:51:17 +0100 |
commit | ea962fa132b6633479835b83aeb7944c958ccb8d (patch) | |
tree | a6bece817b0d44434f38ec2fb063f4ec28d4d4de /include/linux | |
parent | 2538bbb0daf6cd31bdd9675b10eb0974330ba6ba (diff) | |
download | linux-stable-ea962fa132b6633479835b83aeb7944c958ccb8d.tar.gz linux-stable-ea962fa132b6633479835b83aeb7944c958ccb8d.tar.bz2 linux-stable-ea962fa132b6633479835b83aeb7944c958ccb8d.zip |
i40e: don't restart nway if autoneg not supported
[ Upstream commit 7c3758f7839377ab67529cc50264a640636c47af ]
On link types that do not support autoneg, we cannot attempt to restart
nway negotiation. This results in a dead link that requires a power
cycle to remedy.
Fix this by saving off the autoneg state and checking this value before
we try to restart nway.
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions