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-17 20:37:46 +0100 |
commit | 095d4dbe73367911351406fac242dc016a7c5c41 (patch) | |
tree | 56cbbe5a345e3048af86f7a34b759904ffb5f0cd /Makefile | |
parent | d4e3d38b904175860da5937e6afc541084063bd9 (diff) |
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 'Makefile')
0 files changed, 0 insertions, 0 deletions