[PATCH v3 12/12] net/ice: add support for FEC auto-detect for E830
Soumyadeep Hore
soumyadeep.hore at intel.com
Fri Aug 23 11:56:50 CEST 2024
From: Przemyslaw Gierszynski <przemyslaw.gierszynski at intel.com>
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 E830 model. With this
change, the function will enable FEC auto-detect support for
E830 adapters.
Signed-off-by: Przemyslaw Gierszynski <przemyslaw.gierszynski at intel.com>
Signed-off-by: Soumyadeep Hore <soumyadeep.hore at 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
More information about the dev
mailing list