ice: Limit forced overrides based on FW version
authorJeb Cramer <jeb.j.cramer@intel.com>
Thu, 25 Mar 2021 22:35:13 +0000 (15:35 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 8 Apr 2021 00:09:16 +0000 (17:09 -0700)
commit75751c80d6d841ec1f803f0a6c9b116345458d16
tree0233c04d8e1c4d9553ef35683f3716f85d0c4887
parent0a02944feaa75df4309103b8a19c56960cf32164
ice: 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>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c