mirror_ubuntu-kernels/drivers/net/ethernet/intel/i40evf
Jesse Brandeburg 0deda86836 i40e/i40evf: fix Tx hang workaround code
The arm writeback (arm_wb) code is used for kicking the Tx ring to
make sure any pending work is completed even if interrupts are
disabled. It was running when it didn't need to, and not clearing
the ring->arm_wb state after it was set.  This caused Tx hangs
to still occur occasionally when there really was no hang.
Fix this by resetting the variable right after it was used.

Change-ID: I7bf75d552ba9c4bd203d40615213861a24bb5594
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-09-30 05:21:26 -07:00
..
i40e_adminq_cmd.h i40e/i40evf: Update FW API with X722 support 2015-08-05 16:53:44 -07:00
i40e_adminq.c i40e/i40evf: add exec_aq command to nvmupdate utility 2015-09-17 17:49:42 -07:00
i40e_adminq.h i40e/i40evf: fix up type clash in i40e_aq_rc_to_posix conversion 2015-09-30 05:14:12 -07:00
i40e_alloc.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_common.c i40evf: Remove PF specific register definitions from the VF 2015-08-26 15:05:17 -07:00
i40e_hmc.h i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_lan_hmc.h i40e/i40evf: Big endian fixes for handling HMC 2014-06-26 04:44:57 -07:00
i40e_osdep.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_prototype.h i40e/i40evf: Update FW API with X722 support 2015-08-05 16:53:44 -07:00
i40e_register.h i40evf: Remove PF specific register definitions from the VF 2015-08-26 15:05:17 -07:00
i40e_status.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_txrx.c i40e/i40evf: fix Tx hang workaround code 2015-09-30 05:21:26 -07:00
i40e_txrx.h i40e/i40evf: refactor tx timeout logic 2015-09-28 17:38:27 -07:00
i40e_type.h i40e/i40evf: add get AQ result command to nvmupdate utility 2015-09-17 17:52:07 -07:00
i40e_virtchnl.h i40e/i40evf: add VIRTCHNL_VF_OFFLOAD flag 2015-08-26 15:09:54 -07:00
i40evf_ethtool.c i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40evf_main.c i40evf: missing rtnl_unlock in i40evf_resume() 2015-09-30 05:09:22 -07:00
i40evf_virtchnl.c i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40evf.h i40e/i40evf: Add support for writeback on ITR feature for X722 2015-08-05 16:53:45 -07:00
Makefile i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00