| /linux/net/ethtool/ |
| H A D | fec.c | 14 u32 active_fec; member 132 ethtool_fec_to_link_modes(fec.active_fec, active_fec_modes, NULL); in fec_prepare_data() 133 data->active_fec = find_first_bit(active_fec_modes, in fec_prepare_data() 138 if (data->active_fec == __ETHTOOL_LINK_MODE_MASK_NBITS) in fec_prepare_data() 139 data->active_fec = 0; in fec_prepare_data() 281 (data->active_fec && in fec_fill_reply() 282 nla_put_u32(skb, ETHTOOL_A_FEC_ACTIVE, data->active_fec))) in fec_fill_reply()
|
| H A D | ioctl.c | 3232 fecparam.active_fec = 0; in ethtool_set_fecparam()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_phylink.c | 89 fecparam->active_fec = ETHTOOL_FEC_RS; in fbnic_phylink_get_fecparam() 92 fecparam->active_fec = ETHTOOL_FEC_BASER; in fbnic_phylink_get_fecparam() 95 fecparam->active_fec = ETHTOOL_FEC_OFF; in fbnic_phylink_get_fecparam()
|
| /linux/drivers/net/netdevsim/ |
| H A D | ethtool.c | 164 ns->ethtool.fec.active_fec = 1 << (fls(fec) - 1); in nsim_set_fecparam() 249 ns->ethtool.fec.active_fec = ETHTOOL_FEC_NONE; in nsim_ethtool_init()
|
| /linux/drivers/net/ethernet/fungible/funeth/ |
| H A D | funeth.h | 106 u8 active_fec; member
|
| 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()
|
| H A D | funeth_ethtool.c | 1074 fec->active_fec = to_ethtool_fec(fec_data & 0xff); in fun_get_fecparam()
|
| /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/pensando/ionic/ |
| H A D | ionic_ethtool.c | 403 fec->active_fec = ETHTOOL_FEC_OFF; in ionic_get_fecparam() 406 fec->active_fec = ETHTOOL_FEC_RS; in ionic_get_fecparam() 409 fec->active_fec = ETHTOOL_FEC_BASER; in ionic_get_fecparam()
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A 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()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_ethtool.c | 1001 u32 active_fec; in get_fec_supported_advertised() local 1005 err = mlx5e_get_fec_mode(dev, &active_fec, NULL); in get_fec_supported_advertised() 1018 active_fec_long = active_fec; in get_fec_supported_advertised() 1960 fecparam->active_fec = pplm2ethtool_fec((unsigned long)fec_active, in mlx5e_get_fecparam() 1963 if (!fecparam->active_fec) in mlx5e_get_fecparam()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_cmd.h | 348 u8 active_fec; member
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_ethtool.c | 1735 fec->active_fec = loc_to_eth_fec(fec_mode); in hns3_get_fecparam() 1736 if (!fec->active_fec) in hns3_get_fecparam() 1737 fec->active_fec = ETHTOOL_FEC_OFF; in hns3_get_fecparam()
|
| /linux/include/uapi/linux/ |
| H A D | ethtool.h | 1829 __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/qlogic/qede/ |
| H A D | qede_ethtool.c | 1921 fecparam->active_fec = qede_link_to_ethtool_fec(curr_link.active_fec); in qede_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 | 1648 fecparam->active_fec = ETHTOOL_FEC_BASER; in ice_get_fecparam() 1652 fecparam->active_fec = ETHTOOL_FEC_RS; in ice_get_fecparam() 1655 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/intel/i40e/ |
| H A 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()
|
| /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/chelsio/cxgb4vf/ |
| H A D | cxgb4vf_main.c | 1544 fec->active_fec = cc_to_eth_fec(lc->fec); in cxgb4vf_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()
|