[PATCH 0/2][SRU Xenial] Intel I210 ethernet does not work both after S3
AceLan Kao
acelan.kao at canonical.com
Mon Feb 13 02:12:09 UTC 2017
BugLink: http://bugs.launchpad.net/bugs/1662763
Impact:
Intel I210 Gigabit Ethernet failed to get IP address after resume from S3.
I210 NIC never goes up after went down while entering S3,
even the ethernet cable has been re-plugged.
[ 61.582852] igb 0000:02:00.0 enp2s0: igb: enp2s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 173.967945] igb 0000:02:00.0 enp2s0: igb: enp2s0 NIC Link is Down
Fix:
Add igb_ptp_suspend() function to properly stop the extra workqueue items
and ensure that we resume cleanly. This is better than using igb_ptp_init
and igb_ptp_stop since these functions destroy the PHC device, which will
cause other problems
Test:
Tested on Dell Precision Tower 7900 series workstation
with fwts to do S3 30 times, the NIC keeps working well.
Jacob Keller (2):
igb: implement igb_ptp_suspend
igb: call igb_ptp_suspend during suspend/resume cycle
drivers/net/ethernet/intel/igb/igb.h | 1 +
drivers/net/ethernet/intel/igb/igb_main.c | 2 ++
drivers/net/ethernet/intel/igb/igb_ptp.c | 22 +++++++++++++++++-----
3 files changed, 20 insertions(+), 5 deletions(-)
--
2.7.4
More information about the kernel-team
mailing list