OpenCloudOS-Kernel/drivers/net/ethernet/intel/igb
Alexander Duyck 5c4903549c net: Fix issue with netdev_tx_reset_queue not resetting queue from XOFF state
We are seeing dev_watchdog hangs on several drivers.  I suspect this is due
to the __QUEUE_STATE_STACK_XOFF bit being set prior to a reset for link
change, and then not being cleared by netdev_tx_reset_queue.  This change
corrects that.

In addition we were seeing dev_watchdog hangs on igb after running the
ethtool tests.  We found this to be due to the fact that the ethtool test
runs the same logic as ndo_start_xmit, but we were never clearing the XOFF
flag since the loopback test in ethtool does not do byte queue accounting.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2012-03-12 20:16:53 -07:00
..
Makefile igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_82575.c igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_82575.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_defines.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_hw.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_mac.c igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_mac.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_mbx.c igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_mbx.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_nvm.c igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_nvm.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_phy.c igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_phy.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_regs.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
igb.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
igb_ethtool.c igb: fix ethtool offline test 2012-03-12 20:10:58 -07:00
igb_main.c net: Fix issue with netdev_tx_reset_queue not resetting queue from XOFF state 2012-03-12 20:16:53 -07:00