OpenCloudOS-Kernel/drivers/net/e1000e
Jesse Brandeburg 4633427412 e1000e: tx_timeout should not increment for non-hang events
Currently the driver increments the tx_timeout counter (an error counter)
when simply resetting the part with outstanding transmit work pending.
This is an unnecessary count of an error, when all we should be doing is
just resetting the part and discarding the transmits.  With this change the
only increment of tx_timeout is when the stack calls the watchdog reset
function due to a true Tx timeout.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Reviewed-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2011-02-08 01:10:17 -08:00
..
82571.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2011-01-14 13:25:30 -08:00
Makefile e1000e: update Copyright for 2011 2011-01-14 02:04:01 -08:00
defines.h e1000e: update Copyright for 2011 2011-01-14 02:04:01 -08:00
e1000.h e1000e: update Copyright for 2011 2011-01-14 02:04:01 -08:00
es2lan.c e1000e: update Copyright for 2011 2011-01-14 02:04:01 -08:00
ethtool.c e1000e: update Copyright for 2011 2011-01-14 02:04:01 -08:00
hw.h e1000e: consistent use of Rx/Tx vs. RX/TX/rx/tx in comments/logs 2011-01-14 02:06:23 -08:00
ich8lan.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2011-01-14 13:25:30 -08:00
lib.c e1000e: consistent use of Rx/Tx vs. RX/TX/rx/tx in comments/logs 2011-01-14 02:06:23 -08:00
netdev.c e1000e: tx_timeout should not increment for non-hang events 2011-02-08 01:10:17 -08:00
param.c e1000e: consistent use of Rx/Tx vs. RX/TX/rx/tx in comments/logs 2011-01-14 02:06:23 -08:00
phy.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2011-01-14 13:25:30 -08:00