diff options
author | Mitch Williams <mitch.a.williams@intel.com> | 2018-10-26 14:33:28 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-11-14 10:56:33 -0800 |
commit | 7c3758f7839377ab67529cc50264a640636c47af (patch) | |
tree | 5679087701c2f2c82d672158dcfe9fd00278fe8c /drivers/net/ethernet/xscale/ixp4xx_eth.c | |
parent | i40e: Allow disabling FW LLDP on X722 devices (diff) | |
download | linux-dev-7c3758f7839377ab67529cc50264a640636c47af.tar.xz linux-dev-7c3758f7839377ab67529cc50264a640636c47af.zip |
i40e: don't restart nway if autoneg not supported
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>
Diffstat (limited to 'drivers/net/ethernet/xscale/ixp4xx_eth.c')
0 files changed, 0 insertions, 0 deletions