Extends the functionality of the function responsible for
checking if the firmware supports FEC (Forward Error Correction)
disable in Auto FEC mode. It now includes an additional check to
determine if the adapter is a Connorsville model. With this
change, the function will enable FEC auto-detect support for
Connorsville adapters.

Signed-off-by: Soumyadeep Hore <soumyadeep.h...@intel.com>
---
 drivers/net/ice/base/ice_common.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/ice/base/ice_common.c 
b/drivers/net/ice/base/ice_common.c
index 08ba0b45a5..c8047ca59f 100644
--- a/drivers/net/ice/base/ice_common.c
+++ b/drivers/net/ice/base/ice_common.c
@@ -6456,6 +6456,8 @@ u32 ice_get_link_speed(u16 index)
  */
 bool ice_fw_supports_fec_dis_auto(struct ice_hw *hw)
 {
+       if (ice_is_e830(hw))
+               return true;
        return ice_is_fw_min_ver(hw, ICE_FW_VER_BRANCH_E810,
                                 ICE_FW_FEC_DIS_AUTO_MAJ,
                                 ICE_FW_FEC_DIS_AUTO_MIN,
-- 
2.43.0

Reply via email to