| /linux/drivers/net/netdevsim/ |
| H A D | ethtool.c | 164 ns->ethtool.fec.active_fec = 1 << (fls(fec) - 1); in nsim_set_fecparam() 250 ns->ethtool.fec.active_fec = ETHTOOL_FEC_NONE; in nsim_ethtool_init()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | mcdi_port_common.c | 632 fec->active_fec = ETHTOOL_FEC_OFF; in efx_mcdi_phy_get_fecparam() 635 fec->active_fec = ETHTOOL_FEC_BASER; in efx_mcdi_phy_get_fecparam() 638 fec->active_fec = ETHTOOL_FEC_RS; in efx_mcdi_phy_get_fecparam() 647 fec->active_fec = ETHTOOL_FEC_AUTO; in efx_mcdi_phy_get_fecparam()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A 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()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_ethtool.c | 1024 u32 active_fec; in get_fec_supported_advertised() local 1028 err = mlx5e_get_fec_mode(dev, &active_fec, NULL); in get_fec_supported_advertised() 1041 active_fec_long = active_fec; in get_fec_supported_advertised() 1949 fecparam->active_fec = pplm2ethtool_fec((unsigned long)fec_active, in mlx5e_get_fecparam() 1952 if (!fecparam->active_fec) in mlx5e_get_fecparam()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ethtool.c | 3213 u8 active_fec; in bnxt_get_fecparam() local 3218 active_fec = link_info->active_fec_sig_mode & in bnxt_get_fecparam() 3222 fec->active_fec = ETHTOOL_FEC_NONE; in bnxt_get_fecparam() 3234 switch (active_fec) { in bnxt_get_fecparam() 3236 fec->active_fec |= ETHTOOL_FEC_BASER; in bnxt_get_fecparam() 3241 fec->active_fec |= ETHTOOL_FEC_RS; in bnxt_get_fecparam() 3245 fec->active_fec |= ETHTOOL_FEC_LLRS; in bnxt_get_fecparam() 3248 fec->active_fec |= ETHTOOL_FEC_OFF; in bnxt_get_fecparam()
|
| H A D | bnxt.c | 12148 u8 active_fec = link_info->active_fec_sig_mode & in bnxt_report_fec() local 12151 switch (active_fec) { in bnxt_report_fec()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_cmd.h | 348 u8 active_fec; member
|
| H A D | hclge_main.c | 3223 if (!resp->active_fec) in hclge_get_sfp_info() 3226 mac->fec_mode = BIT(resp->active_fec); in hclge_get_sfp_info()
|
| /linux/drivers/net/ethernet/fungible/funeth/ |
| H A 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() 1886 fp->active_fec = notif->fec; in fun_update_link_state()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_ethtool.c | 1734 fec->active_fec = loc_to_eth_fec(fec_mode); in hns3_get_fecparam() 1735 if (!fec->active_fec) in hns3_get_fecparam() 1736 fec->active_fec = ETHTOOL_FEC_OFF; in hns3_get_fecparam()
|
| /linux/include/uapi/linux/ |
| H A D | ethtool.h | 1832 __u32 active_fec; member
|
| /linux/include/linux/qed/ |
| H A D | qed_if.h | 754 u32 active_fec; member
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | lio_ethtool.c | 3063 fec->active_fec = ETHTOOL_FEC_NONE; in lio_get_fecparam() 3074 fec->active_fec = ETHTOOL_FEC_RS; in lio_get_fecparam() 3076 fec->active_fec = ETHTOOL_FEC_OFF; in lio_get_fecparam()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_ethtool.c | 1242 param->active_fec = ETHTOOL_FEC_NONE; in nfp_port_get_fecparam() 1254 param->active_fec = nfp_port_fec_nsp_to_ethtool(BIT(eth_port->act_fec)); in nfp_port_get_fecparam()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ethtool.c | 1640 fecparam->active_fec = ETHTOOL_FEC_BASER; in ice_get_fecparam() 1644 fecparam->active_fec = ETHTOOL_FEC_RS; in ice_get_fecparam() 1647 fecparam->active_fec = ETHTOOL_FEC_OFF; in ice_get_fecparam()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_ethtool.c | 1037 fecparam->active_fec = fec[pfvf->linfo.fec]; in otx2_get_fecparam()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_ethtool.c | 832 fec->active_fec = cc_to_eth_fec(lc->fec); in get_fecparam()
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_main.c | 2125 if_link->active_fec = params.fec; in qed_fill_link()
|