]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Detect ATR HW Evict NVM issue and disable the feature
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Fri, 23 Jun 2017 08:24:48 +0000 (04:24 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 25 Aug 2017 21:46:26 +0000 (14:46 -0700)
commite68947308d2ff6ec79f81111764b256928917037
tree15a05836b2f72b2881cf2c83529d450cd3a6cdf5
parentdd4ee6107d758f978d661dd509f98762b40504ca
i40e: Detect ATR HW Evict NVM issue and disable the feature

This patch fixes a problem with the HW ATR eviction feature where the
NVM setting was incorrect.  This patch detects the issue on X720
adapters and disables the feature if the NVM setting is incorrect.

Without this patch, HW ATR Evict feature does not work on broken NVMs
and is not detected either.  If the HW ATR Evict feature is disabled
the SW Eviction feature will take effect.

Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Signed-off-by: Alice Michael <alice.michael@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