net/ice/base: limit forced overrides based on FW version
authorQi Zhang <qi.z.zhang@intel.com>
Fri, 8 Jan 2021 04:10:55 +0000 (12:10 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 18:03:08 +0000 (19:03 +0100)
commit02d6b64051cea9d9ec2aba39d149dd1aa5c6da53
tree7ac93f993f801ee45072b2b41fc63744508e8340
parent964bafcf5e75cddfbd8bc49485922b01fc491182
net/ice/base: limit forced overrides based on FW version

Beyond a specific version of firmware, there is no need to provide
override values to the firmware when setting PHY capabilities.  In this
case, we do not need to indicate whether we're in Strict or Lenient Link
Mode.

In the case of translating capabilities to the configuration structure,
the module compliance enforcement is already correctly set by firmware,
so the extra code block is redundant.

Signed-off-by: Jeb Cramer <jeb.j.cramer@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_common.c