ixgbe: release lock for the duration of ixgbe_suspend_close()
authorPavel Tatashin <pasha.tatashin@oracle.com>
Thu, 3 May 2018 03:59:30 +0000 (23:59 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 17 May 2018 16:04:15 +0000 (09:04 -0700)
commit6710f970d9979d8f03f6e292bb729b2ee1526d0e
treea3ad172c6aec5b009519e81a766bda40642c897a
parentb212d815e77c72be921979119c715166cc8987b1
ixgbe: release lock for the duration of ixgbe_suspend_close()

Currently, during device_shutdown() ixgbe holds rtnl_lock for the duration
of lengthy ixgbe_close_suspend(). On machines with multiple ixgbe cards
this lock prevents scaling if device_shutdown() function is multi-threaded.

It is not necessary to hold this lock during ixgbe_close_suspend()
as it is not held when ixgbe_close() is called also during shutdown but for
kexec case.

Signed-off-by: Pavel Tatashin <pasha.tatashin@oracle.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c