e1000e: add workaround for possible stalled packet
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Mon, 8 Jul 2019 04:55:45 +0000 (12:55 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2019 10:48:02 +0000 (12:48 +0200)
commit8c66c61fbbd4b9e5928f6fe40b5757a79da89361
tree59fbbc1f6536550a68f9119c4170fbbe4cacf1c7
parent507217d6c2e69cce78eee5447c5c2ad663d50934
e1000e: add workaround for possible stalled packet

[ Upstream commit e5e9a2ecfe780975820e157b922edee715710b66 ]

This works around a possible stalled packet issue, which may occur due to
clock recovery from the PCH being too slow, when the LAN is transitioning
from K1 at 1G link speed.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204057

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/intel/e1000e/ich8lan.c
drivers/net/ethernet/intel/e1000e/ich8lan.h