net/e1000/base: modify flow control setup
authorGuinan Sun <guinanx.sun@intel.com>
Mon, 6 Jul 2020 08:12:14 +0000 (08:12 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Jul 2020 21:38:27 +0000 (23:38 +0200)
commitc3c9fe369949a4fd257ee7f298e7260de2bbaf5b
tree90174d1231200958bcbdde419b48f54d552ccb0f
parentfc9933953c90e99970aa867c38f9c6e6c5d0488d
net/e1000/base: modify flow control setup

Customers had a problem with large pings after connected standby.
This is due to the requirement of maintaining link after CS - the driver
blocks resets during "AdapterStart" and skips flow control setup.
Added condition in e1000_setup_link_ich8lan.c function that always setup
flow control, and setup physical interface only when no need to block
resets.

Signed-off-by: Nir Efrati <nir.efrati@intel.com>
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
Reviewed-by: Wei Zhao <wei.zhao1@intel.com>
drivers/net/e1000/base/e1000_ich8lan.c