Home
last modified time | relevance | path

Searched refs:fec_cfg (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1596 u16 fec_cfg = link_info->fec_cfg; in bnxt_fw_to_ethtool_advertised_fec() local
1598 if ((fec_cfg & BNXT_FEC_NONE) || !(fec_cfg & BNXT_FEC_AUTONEG)) { in bnxt_fw_to_ethtool_advertised_fec()
1603 if (fec_cfg & BNXT_FEC_ENC_BASE_R) in bnxt_fw_to_ethtool_advertised_fec()
1606 if (fec_cfg & BNXT_FEC_ENC_RS) in bnxt_fw_to_ethtool_advertised_fec()
1609 if (fec_cfg & BNXT_FEC_ENC_LLRS) in bnxt_fw_to_ethtool_advertised_fec()
1647 u16 fec_cfg = link_info->fec_cfg; in bnxt_fw_to_ethtool_support_fec() local
1649 if (fec_cfg & BNXT_FEC_NONE) { in bnxt_fw_to_ethtool_support_fec()
1654 if (fec_cfg & BNXT_FEC_ENC_BASE_R_CAP) in bnxt_fw_to_ethtool_support_fec()
1657 if (fec_cfg & BNXT_FEC_ENC_RS_CAP) in bnxt_fw_to_ethtool_support_fec()
1660 if (fec_cfg & BNXT_FEC_ENC_LLRS_CAP) in bnxt_fw_to_ethtool_support_fec()
[all …]
Dbnxt.h1277 u16 fec_cfg; member
Dbnxt.c9561 fec = bp->link_info.fec_cfg; in bnxt_report_link()
9744 link_info->fec_cfg = PORT_PHY_QCFG_RESP_FEC_CFG_FEC_NONE_SUPPORTED; in bnxt_update_link()
9746 link_info->fec_cfg = le16_to_cpu(resp->fec_cfg); in bnxt_update_link()
Dbnxt_hsi.h4231 __le16 fec_cfg; member
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c1482 static int i40e_set_fec_cfg(struct net_device *netdev, u8 fec_cfg) in i40e_set_fec_cfg() argument
1493 i40e_set_fec_in_flags(fec_cfg, &flags); in i40e_set_fec_cfg()
1504 if (abilities.fec_cfg_curr_mod_ext_info != fec_cfg) { in i40e_set_fec_cfg()
1516 config.fec_config = fec_cfg & I40E_AQ_PHY_FEC_CONFIG_MASK; in i40e_set_fec_cfg()
1552 u8 fec_cfg; in i40e_get_fec_param() local
1564 fec_cfg = abilities.fec_cfg_curr_mod_ext_info; in i40e_get_fec_param()
1565 if (fec_cfg & I40E_AQ_SET_FEC_AUTO) in i40e_get_fec_param()
1567 else if (fec_cfg & (I40E_AQ_SET_FEC_REQUEST_RS | in i40e_get_fec_param()
1570 else if (fec_cfg & (I40E_AQ_SET_FEC_REQUEST_KR | in i40e_get_fec_param()
1573 if (fec_cfg == 0) in i40e_get_fec_param()
[all …]
Di40e.h1295 void i40e_set_fec_in_flags(u8 fec_cfg, u32 *flags);
Di40e_main.c15414 void i40e_set_fec_in_flags(u8 fec_cfg, u32 *flags) in i40e_set_fec_in_flags() argument
15416 if (fec_cfg & I40E_AQ_SET_FEC_AUTO) in i40e_set_fec_in_flags()
15418 if ((fec_cfg & I40E_AQ_SET_FEC_REQUEST_RS) || in i40e_set_fec_in_flags()
15419 (fec_cfg & I40E_AQ_SET_FEC_ABILITY_RS)) { in i40e_set_fec_in_flags()
15423 if ((fec_cfg & I40E_AQ_SET_FEC_REQUEST_KR) || in i40e_set_fec_in_flags()
15424 (fec_cfg & I40E_AQ_SET_FEC_ABILITY_KR)) { in i40e_set_fec_in_flags()
15428 if (fec_cfg == 0) in i40e_set_fec_in_flags()