android_kernel_xiaomi_sm8350/drivers/net/ixgb
Jesse Brandeburg c2d5ab4973 e1000/e1000e/igb/ixgb: don't txhang after link down
after the recent changes to wired drivers to use only
netif_carrier_off the driver can have outstanding tx work to
complete that will never complete once link is down.  Since the
intel hardware will hold this tx work forever, the driver
notices a tx timeout condition internally and might try
to instigate printk and reset of the part with a
netif_stop_queue, which doesn't work because link is down.

Don't bother arming to tx hang detection when link is down.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-05-07 14:52:32 -07:00
..
ixgb_ee.c ixgb: update copyright dates and versions 2008-07-11 01:20:31 -04:00
ixgb_ee.h ixgb: update copyright dates and versions 2008-07-11 01:20:31 -04:00
ixgb_ethtool.c ixgb: update copyright dates and versions 2008-07-11 01:20:31 -04:00
ixgb_hw.c ixgb: Use generic MDIO definitions 2009-04-29 17:32:33 -07:00
ixgb_hw.h ixgb: Use generic MDIO definitions 2009-04-29 17:32:33 -07:00
ixgb_ids.h ixgb: update copyright dates and versions 2008-07-11 01:20:31 -04:00
ixgb_main.c e1000/e1000e/igb/ixgb: don't txhang after link down 2009-05-07 14:52:32 -07:00
ixgb_osdep.h drivers/net: replace BUG() with BUG_ON() if possible 2009-04-13 15:44:36 -07:00
ixgb_param.c ixgb: update copyright dates and versions 2008-07-11 01:20:31 -04:00
ixgb.h drivers/net: replace __FUNCTION__ with __func__ 2008-09-24 18:59:00 -04:00
Makefile ixgb: update copyright dates and versions 2008-07-11 01:20:31 -04:00