]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: reorder Tx cleanup so that if adapter will reset we don't rearm
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 17 Nov 2010 03:26:58 +0000 (19:26 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 17 Nov 2010 03:26:58 +0000 (19:26 -0800)
commit050d10ac171dcc4f975ea9b5de97c0162f129e28
tree9c229bddd9c00e4903128dc57a3f735bc09fa556
parentfd1c80d2cd76db4ffdad7b529f8875c80964b517
ixgbe: reorder Tx cleanup so that if adapter will reset we don't rearm

The code as it existed could re-arm the queues when it was requesting a HW
reset due to a TX hang. Instead of doing that this change makes it so that
we will just exit if the hardware is believed to be hung.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_main.c