Lines Matching refs:fec
614 int efx_mcdi_phy_get_fecparam(struct efx_nic *efx, struct ethtool_fecparam *fec)
635 fec->fec = mcdi_fec_caps_to_ethtool(caps, is_25g);
638 fec->fec &= ~ETHTOOL_FEC_BASER;
643 fec->active_fec = ETHTOOL_FEC_OFF;
646 fec->active_fec = ETHTOOL_FEC_BASER;
649 fec->active_fec = ETHTOOL_FEC_RS;
658 fec->active_fec = ETHTOOL_FEC_AUTO;
679 int efx_mcdi_phy_set_fecparam(struct efx_nic *efx, const struct ethtool_fecparam *fec)
685 rc = ethtool_fec_supported(phy_cfg->supported_cap, fec->fec);
698 caps |= ethtool_fec_caps_to_mcdi(phy_cfg->supported_cap, fec->fec);
705 efx->fec_config = fec->fec;