/drivers/net/netdevsim/ |
D | ethtool.c | 139 ns->ethtool.fec.active_fec = 1 << (fls(fec) - 1); in nsim_set_fecparam() 186 ns->ethtool.fec.active_fec = ETHTOOL_FEC_NONE; in nsim_ethtool_init()
|
/drivers/net/ethernet/fungible/funeth/ |
D | funeth.h | 106 u8 active_fec; member
|
D | funeth_main.c | 134 if (fp->active_fec & FUN_PORT_FEC_RS) in fun_report_link() 136 else if (fp->active_fec & FUN_PORT_FEC_FC) in fun_report_link() 1898 fp->active_fec = notif->fec; in fun_update_link_state()
|
D | funeth_ethtool.c | 1084 fec->active_fec = to_ethtool_fec(fec_data & 0xff); in fun_get_fecparam()
|
/drivers/net/ethernet/sfc/siena/ |
D | mcdi_port_common.c | 648 fec->active_fec = ETHTOOL_FEC_OFF; in efx_siena_mcdi_phy_get_fecparam() 651 fec->active_fec = ETHTOOL_FEC_BASER; in efx_siena_mcdi_phy_get_fecparam() 654 fec->active_fec = ETHTOOL_FEC_RS; in efx_siena_mcdi_phy_get_fecparam() 663 fec->active_fec = ETHTOOL_FEC_AUTO; in efx_siena_mcdi_phy_get_fecparam()
|
/drivers/net/ethernet/sfc/ |
D | mcdi_port_common.c | 643 fec->active_fec = ETHTOOL_FEC_OFF; in efx_mcdi_phy_get_fecparam() 646 fec->active_fec = ETHTOOL_FEC_BASER; in efx_mcdi_phy_get_fecparam() 649 fec->active_fec = ETHTOOL_FEC_RS; in efx_mcdi_phy_get_fecparam() 658 fec->active_fec = ETHTOOL_FEC_AUTO; in efx_mcdi_phy_get_fecparam()
|
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_ethtool.c | 361 fec->active_fec = ETHTOOL_FEC_OFF; in ionic_get_fecparam() 364 fec->active_fec = ETHTOOL_FEC_RS; in ionic_get_fecparam() 367 fec->active_fec = ETHTOOL_FEC_BASER; in ionic_get_fecparam()
|
/drivers/net/ethernet/marvell/prestera/ |
D | prestera_ethtool.c | 700 fecparam->active_fec = port_fec_caps[active].eth_fec; in prestera_ethtool_get_fecparam() 702 fecparam->active_fec = ETHTOOL_FEC_AUTO; in prestera_ethtool_get_fecparam()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_ethtool.c | 784 u32 active_fec; in get_fec_supported_advertised() local 788 err = mlx5e_get_fec_mode(dev, &active_fec, NULL); in get_fec_supported_advertised() 801 active_fec_long = active_fec; in get_fec_supported_advertised() 1659 fecparam->active_fec = pplm2ethtool_fec((unsigned long)fec_active, in mlx5e_get_fecparam() 1662 if (!fecparam->active_fec) in mlx5e_get_fecparam()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 1952 u8 active_fec; in bnxt_get_fecparam() local 1957 active_fec = link_info->active_fec_sig_mode & in bnxt_get_fecparam() 1961 fec->active_fec = ETHTOOL_FEC_NONE; in bnxt_get_fecparam() 1973 switch (active_fec) { in bnxt_get_fecparam() 1975 fec->active_fec |= ETHTOOL_FEC_BASER; in bnxt_get_fecparam() 1980 fec->active_fec |= ETHTOOL_FEC_RS; in bnxt_get_fecparam() 1984 fec->active_fec |= ETHTOOL_FEC_LLRS; in bnxt_get_fecparam() 1987 fec->active_fec |= ETHTOOL_FEC_OFF; in bnxt_get_fecparam()
|
D | bnxt.c | 9482 u8 active_fec = link_info->active_fec_sig_mode & in bnxt_report_fec() local 9485 switch (active_fec) { in bnxt_report_fec()
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_cmd.h | 347 u8 active_fec; member
|
D | hclge_main.c | 3251 if (!resp->active_fec) in hclge_get_sfp_info() 3254 mac->fec_mode = BIT(resp->active_fec); in hclge_get_sfp_info()
|
/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_ethtool.c | 1731 fec->active_fec = loc_to_eth_fec(fec_mode); in hns3_get_fecparam() 1732 if (!fec->active_fec) in hns3_get_fecparam() 1733 fec->active_fec = ETHTOOL_FEC_OFF; in hns3_get_fecparam()
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_ethtool.c | 1235 param->active_fec = ETHTOOL_FEC_NONE; in nfp_port_get_fecparam() 1247 param->active_fec = nfp_port_fec_nsp_to_ethtool(BIT(eth_port->act_fec)); in nfp_port_get_fecparam()
|
/drivers/net/ethernet/cavium/liquidio/ |
D | lio_ethtool.c | 3067 fec->active_fec = ETHTOOL_FEC_NONE; in lio_get_fecparam() 3078 fec->active_fec = ETHTOOL_FEC_RS; in lio_get_fecparam() 3080 fec->active_fec = ETHTOOL_FEC_OFF; in lio_get_fecparam()
|
/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool.c | 1240 fecparam->active_fec = ETHTOOL_FEC_BASER; in ice_get_fecparam() 1244 fecparam->active_fec = ETHTOOL_FEC_RS; in ice_get_fecparam() 1247 fecparam->active_fec = ETHTOOL_FEC_OFF; in ice_get_fecparam()
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_ethtool.c | 1925 fecparam->active_fec = qede_link_to_ethtool_fec(curr_link.active_fec); in qede_get_fecparam()
|
/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ethtool.c | 1028 fecparam->active_fec = fec[pfvf->linfo.fec]; in otx2_get_fecparam()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 1578 fecparam->active_fec = ETHTOOL_FEC_BASER; in i40e_get_fec_param() 1580 fecparam->active_fec = ETHTOOL_FEC_RS; in i40e_get_fec_param() 1582 fecparam->active_fec = ETHTOOL_FEC_OFF; in i40e_get_fec_param()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ethtool.c | 832 fec->active_fec = cc_to_eth_fec(lc->fec); in get_fecparam()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_main.c | 2125 if_link->active_fec = params.fec; in qed_fill_link()
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | cxgb4vf_main.c | 1544 fec->active_fec = cc_to_eth_fec(lc->fec); in cxgb4vf_get_fecparam()
|