linux_dsm_epyc7002/drivers/net/ethernet/intel/e1000e
Benjamin Poirier 4e7dc08e57 e1000e: Fix check_for_link return value with autoneg off
When autoneg is off, the .check_for_link callback functions clear the
get_link_status flag and systematically return a "pseudo-error". This means
that the link is not detected as up until the next execution of the
e1000_watchdog_task() 2 seconds later.

Fixes: 19110cfbb3 ("e1000e: Separate signaling for link check/link up")
Signed-off-by: Benjamin Poirier <bpoirier@suse.com>
Acked-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-03-05 10:15:51 -08:00
..
80003es2lan.c e1000e: use BIT() macro for bit defines 2016-05-13 15:15:36 -07:00
80003es2lan.h e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
82571.c e1000e: factor out systim sanitization 2016-08-16 10:46:19 -07:00
82571.h e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
defines.h e1000e: Avoid missed interrupts following ICR read 2018-03-05 10:08:20 -08:00
e1000.h e1000e: apply burst mode settings only on default 2017-10-10 09:00:48 -07:00
ethtool.c e1000e: Don't return uninitialized stats 2017-06-06 01:05:13 -07:00
hw.h e1000e: Initial Support for IceLake 2017-08-08 17:54:21 -07:00
ich8lan.c e1000e: Fix check_for_link return value with autoneg off 2018-03-05 10:15:51 -08:00
ich8lan.h e1000e: fix the use of magic numbers for buffer overrun issue 2017-11-27 13:57:10 -08:00
mac.c e1000e: Fix check_for_link return value with autoneg off 2018-03-05 10:15:51 -08:00
mac.h e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
Makefile e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
manage.c e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
manage.h e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
netdev.c e1000e: Avoid missed interrupts following ICR read 2018-03-05 10:08:20 -08:00
nvm.c e1000e: use BIT() macro for bit defines 2016-05-13 15:15:36 -07:00
nvm.h e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
param.c e1000e: apply burst mode settings only on default 2017-10-10 09:00:48 -07:00
phy.c e1000e: Fix error path in link detection 2017-10-10 08:17:00 -07:00
phy.h e1000e: use BIT() macro for bit defines 2016-05-13 15:15:36 -07:00
ptp.c e1000e: Add Support for CannonLake 2017-04-30 05:18:30 -07:00
regs.h e1000e: Adds hardware supported cross timestamp on e1000e nic 2016-03-03 14:28:46 -08:00