Home
last modified time | relevance | path

Searched refs:active_fec (Results 1 – 23 of 23) sorted by relevance

/linux/net/ethtool/
A Dfec.c14 u32 active_fec; member
128 ethtool_fec_to_link_modes(fec.active_fec, active_fec_modes, NULL); in fec_prepare_data()
129 data->active_fec = find_first_bit(active_fec_modes, in fec_prepare_data()
134 if (data->active_fec == __ETHTOOL_LINK_MODE_MASK_NBITS) in fec_prepare_data()
135 data->active_fec = 0; in fec_prepare_data()
210 (data->active_fec && in fec_fill_reply()
211 nla_put_u32(skb, ETHTOOL_A_FEC_ACTIVE, data->active_fec))) in fec_fill_reply()
A Dioctl.c2709 fecparam.active_fec = 0; in ethtool_set_fecparam()
/linux/drivers/net/netdevsim/
A Dethtool.c135 ns->ethtool.fec.active_fec = 1 << (fls(fec) - 1); in nsim_set_fecparam()
171 ns->ethtool.fec.active_fec = ETHTOOL_FEC_NONE; in nsim_ethtool_init()
/linux/drivers/net/ethernet/sfc/
A Dmcdi_port_common.c645 fec->active_fec = ETHTOOL_FEC_OFF; in efx_mcdi_phy_get_fecparam()
648 fec->active_fec = ETHTOOL_FEC_BASER; in efx_mcdi_phy_get_fecparam()
651 fec->active_fec = ETHTOOL_FEC_RS; in efx_mcdi_phy_get_fecparam()
660 fec->active_fec = ETHTOOL_FEC_AUTO; in efx_mcdi_phy_get_fecparam()
/linux/drivers/net/ethernet/pensando/ionic/
A Dionic_ethtool.c347 fec->active_fec = ETHTOOL_FEC_OFF; in ionic_get_fecparam()
350 fec->active_fec = ETHTOOL_FEC_RS; in ionic_get_fecparam()
353 fec->active_fec = ETHTOOL_FEC_BASER; in ionic_get_fecparam()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_ethtool.c740 u32 active_fec; in get_fec_supported_advertised() local
744 err = mlx5e_get_fec_mode(dev, &active_fec, NULL); in get_fec_supported_advertised()
757 active_fec_long = active_fec; in get_fec_supported_advertised()
1610 fecparam->active_fec = pplm2ethtool_fec((unsigned long)fec_active, in mlx5e_get_fecparam()
1613 if (!fecparam->active_fec) in mlx5e_get_fecparam()
/linux/drivers/net/ethernet/marvell/prestera/
A Dprestera_ethtool.c694 fecparam->active_fec = port_fec_caps[active].eth_fec; in prestera_ethtool_get_fecparam()
696 fecparam->active_fec = ETHTOOL_FEC_AUTO; in prestera_ethtool_get_fecparam()
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ethtool.c1916 u8 active_fec; in bnxt_get_fecparam() local
1921 active_fec = link_info->active_fec_sig_mode & in bnxt_get_fecparam()
1925 fec->active_fec = ETHTOOL_FEC_NONE; in bnxt_get_fecparam()
1937 switch (active_fec) { in bnxt_get_fecparam()
1939 fec->active_fec |= ETHTOOL_FEC_BASER; in bnxt_get_fecparam()
1944 fec->active_fec |= ETHTOOL_FEC_RS; in bnxt_get_fecparam()
1948 fec->active_fec |= ETHTOOL_FEC_LLRS; in bnxt_get_fecparam()
A Dbnxt.c9235 u8 active_fec = link_info->active_fec_sig_mode & in bnxt_report_fec() local
9238 switch (active_fec) { in bnxt_report_fec()
/linux/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_ethtool.c824 param->active_fec = ETHTOOL_FEC_NONE; in nfp_port_get_fecparam()
836 param->active_fec = nfp_port_fec_nsp_to_ethtool(eth_port->fec); in nfp_port_get_fecparam()
/linux/include/uapi/linux/
A Dethtool.h1458 __u32 active_fec; member
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_cmd.h711 u8 active_fec; member
A Dhclge_main.c3216 if (!resp->active_fec) in hclge_get_sfp_info()
3219 mac->fec_mode = BIT(resp->active_fec); in hclge_get_sfp_info()
/linux/include/linux/qed/
A Dqed_if.h753 u32 active_fec; member
/linux/drivers/net/ethernet/intel/ice/
A Dice_ethtool.c1067 fecparam->active_fec = ETHTOOL_FEC_BASER; in ice_get_fecparam()
1071 fecparam->active_fec = ETHTOOL_FEC_RS; in ice_get_fecparam()
1074 fecparam->active_fec = ETHTOOL_FEC_OFF; in ice_get_fecparam()
/linux/drivers/net/ethernet/cavium/liquidio/
A Dlio_ethtool.c3062 fec->active_fec = ETHTOOL_FEC_NONE; in lio_get_fecparam()
3073 fec->active_fec = ETHTOOL_FEC_RS; in lio_get_fecparam()
3075 fec->active_fec = ETHTOOL_FEC_OFF; in lio_get_fecparam()
/linux/drivers/net/ethernet/qlogic/qede/
A Dqede_ethtool.c1891 fecparam->active_fec = qede_link_to_ethtool_fec(curr_link.active_fec); in qede_get_fecparam()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_ethtool.c945 fecparam->active_fec = fec[pfvf->linfo.fec]; in otx2_get_fecparam()
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_ethtool.c1479 fecparam->active_fec = ETHTOOL_FEC_BASER; in i40e_get_fec_param()
1481 fecparam->active_fec = ETHTOOL_FEC_RS; in i40e_get_fec_param()
1483 fecparam->active_fec = ETHTOOL_FEC_OFF; in i40e_get_fec_param()
/linux/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_ethtool.c1554 fec->active_fec = loc_to_eth_fec(fec_mode); in hns3_get_fecparam()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_ethtool.c832 fec->active_fec = cc_to_eth_fec(lc->fec); in get_fecparam()
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
A Dcxgb4vf_main.c1544 fec->active_fec = cc_to_eth_fec(lc->fec); in cxgb4vf_get_fecparam()
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_main.c2154 if_link->active_fec = params.fec; in qed_fill_link()

Completed in 157 milliseconds