]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: don't hold RTNL lock while waiting for VF reset to finish
authorJacob Keller <jacob.e.keller@intel.com>
Thu, 13 Apr 2017 08:45:46 +0000 (04:45 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 20 Apr 2017 00:11:30 +0000 (17:11 -0700)
commit39e15fa5f18d5c243a2cb482887d5954eeea9cee
treebccae0decce11a12a7a9acf33ea57ef7cedc97ea
parent23e3fbcba636f538e37937e3564dfcf883847dd1
i40e: don't hold RTNL lock while waiting for VF reset to finish

We made some effort to reduce the RTNL lock scope when resetting and
rebuilding the PF. Unfortunately we still held the RTNL lock during the
VF reset operation, which meant that multiple PFs could not reset in
parallel due to the global lock. For now, further reduce the scope by
not holding the RTNL lock while resetting VFs. This allows multiple PFs
to reset in a timely manner.

Change-ID: I2fbf823a0063f24dff67676cad09f0bbf83ee4ce
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c