]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit21d2d2405d376fb418c04d5b4c90d0b3a22d2ad6
tree81ea9320481e872577901a85c61675349739528b
parentdb7c3da38baa5df18f82f93f6e21aa788c8949eb
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