e1000e: Fix Hardware Unit Hang
authorDavid Ertman <davidx.m.ertman@intel.com>
Wed, 8 Jan 2014 01:07:55 +0000 (01:07 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 20 Mar 2014 00:17:22 +0000 (17:17 -0700)
commit75cc341aac3ba249b67846a23aff6525af2d2509
tree81ea9320481e872577901a85c61675349739528b
parent48e375fea68d8a83bd8c7f912e675386b543bb33
e1000e: Fix Hardware Unit Hang

The check for pending Tx work when link is lost was mistakenly moved to be
done only when link is first detected to be lost.  It turns out there is a
small window of opportunity for additional Tx work to get queued up shortly
after link is dropped.

Move the check back to the place it was before in the watchdog task.  Put in
additional debug information for other reset paths and a final catch-all for
false hangs in the scheduled function that prints out the hardware hang
message.

Signed-off-by: Dave Ertman <davidx.m.ertman@intel.com>
Signed-off-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>
drivers/net/ethernet/intel/e1000e/netdev.c