i40e: Acquire NVM lock before reads on all devices
authorAaron Salter <aaron.k.salter@intel.com>
Fri, 2 Dec 2016 20:33:02 +0000 (12:33 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 15 Mar 2017 00:52:32 +0000 (17:52 -0700)
commit96a39aed25e6559b160786117df124084feb9080
treeb48153ee36b6d2e81951e5264150dc14ecb4afad
parent9c79ddaa0f962d1f26537a670b0652ff509a6fe0
i40e: Acquire NVM lock before reads on all devices

Acquire NVM lock before reads on all devices.  Previously, locks were
only used for X722 and later.  Fixes an issue where simultaneous X710
NVM accesses were interfering with each other.

Change-ID: If570bb7acf958cef58725ec2a2011cead6f80638
Signed-off-by: Aaron Salter <aaron.k.salter@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_nvm.c