linux/drivers/net/ethernet/intel/e1000e
Tushar Dave eca90f5504 e1000e: 82571 Tx Data Corruption during Tx hang recovery
A bus trace shows that while executing e1000e_down, TCTL is cleared except
for the PSP bit.  This occurs while in the middle of fetching a TSO packet
since the Tx packet buffer is full at that point. Before the device is
reset, the e1000_watchdog_task starts to run from the middle (it was
apparently pre-empted earlier, although that is not in the trace) and sets
TCTL.EN.  At that point, 82571 transmits the corrupted packet, apparently
because TCTL.MULR was cleared in the middle of fetching a packet, which is
forbidden.

Driver should just clear TCTL.EN in e1000_reset_hw_82571 instead of
clearing the entire register, so as not to change any settings in the
middle of fetching a packet.

Signed-off-by: Tushar Dave <tushar.n.dave@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
2012-08-07 00:41:36 -07:00
..
80003es2lan.c e1000e: Driver workaround for IPv6 Header Extension Erratum. 2012-05-03 02:29:04 -07:00
82571.c e1000e: 82571 Tx Data Corruption during Tx hang recovery 2012-08-07 00:41:36 -07:00
defines.h e1000e: remove use of IP payload checksum 2012-07-01 00:25:32 -07:00
e1000.h e1000e: Program the correct register for ITR when using MSI-X. 2012-07-14 02:58:34 -07:00
ethtool.c e1000e: advertise transmit time stamping 2012-07-22 12:33:32 -07:00
hw.h e1000e: initial support for i217 2012-05-04 03:15:06 -07:00
ich8lan.c e1000e: fix test for PHY being accessible on 82577/8/9 and I217 2012-07-14 00:45:45 -07:00
mac.c e1000e: test for valid check_reset_block function pointer 2012-06-05 20:47:50 -07:00
Makefile e1000e: update copyright year 2012-01-26 19:01:17 -08:00
manage.c e1000e: cleanup boolean logic 2012-04-14 02:05:00 -07:00
netdev.c e1000e: Program the correct register for ITR when using MSI-X. 2012-07-14 02:58:34 -07:00
nvm.c e1000e: rename e1000e_reload_nvm() and call as function pointer 2012-02-24 21:43:21 -08:00
param.c e1000e: use more informative logging macros when netdev not yet registered 2012-06-14 03:03:14 -07:00
phy.c e1000e: test for valid check_reset_block function pointer 2012-06-05 20:47:50 -07:00