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)
commit024b05f4246e281ef50e019eff0fc53aedf069ac
treebccae0decce11a12a7a9acf33ea57ef7cedc97ea
parent1d5c960c5ef565bc799a28d1fc4873e124adad6a
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