OpenCloudOS-Kernel/drivers/net/ethernet/intel
Yanir Lubetkin 95f0d95046 e1000e: fix logical error in flush_desc_rings
The condition under which the flush should occur was reversed.  The fix
should be applied before any HW reset (unless followed by bus reset)
and before any power state transition from D0.

If E1000_FEXTNVM7_NEED_DESCRING_FLUSH bit is set in FEXTNVM7 and TDLEN > 0
the Tx ring should be flushed. (fixes ~95% of the hang states).
If the E1000_FEXTNVM7_NEED_DESCRING_FLUSH did not clear, we should also
flush the RX ring. Bug was caught by Alexander Duyck during a code review
when examining this fix.

Signed-off-by: Yanir Lubetkin <yanirx.lubetkin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-06-03 03:29:52 -07:00
..
e1000 e1000: Replace e1000_free_frag with skb_free_frag 2015-05-12 10:39:27 -04:00
e1000e e1000e: fix logical error in flush_desc_rings 2015-06-03 03:29:52 -07:00
fm10k fm10k: Do not assume budget will never be 0 for NAPI 2015-05-04 00:06:55 -04:00
i40e i40e: Bump version to 1.3.4 2015-05-28 03:46:23 -07:00
i40evf i40e/i40evf: remove time_stamp member 2015-05-28 03:46:03 -07:00
igb Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-05-13 14:31:43 -04:00
igbvf igbvf: use netif_carrier_off earlier when bringing if down 2015-03-20 17:45:12 -07:00
ixgb ixgb: call netif_carrier_off early on down 2015-03-20 17:41:52 -07:00
ixgbe ixgbe: Allow flow director to use entire queue space 2015-05-28 03:34:49 -07:00
ixgbevf ixgbevf: Use dev_kfree_skb_any in xmit path, not dev_kfree_skb 2015-05-04 00:06:55 -04:00
Kconfig i40e: Strip configfs code 2015-03-07 07:01:06 -08:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00
e100.c ethernet/intel: Use setup_timer 2015-05-31 21:46:01 -07:00