Home
last modified time | relevance | path

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

/linux/net/ethtool/
H 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()
H A Dioctl.c3066 fecparam.active_fec = 0; in ethtool_set_fecparam()
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth.h106 u8 active_fec; member
H A Dfuneth_main.c134 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()
H A Dfuneth_ethtool.c1081 fec->active_fec = to_ethtool_fec(fec_data & 0xff); in fun_get_fecparam()
/linux/drivers/net/ethernet/sfc/siena/
H A Dmcdi_port_common.c648 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/sfc/
H A Dmcdi_port_common.c643 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()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c363 fec->active_fec = ETHTOOL_FEC_OFF; in ionic_get_fecparam()
366 fec->active_fec = ETHTOOL_FEC_RS; in ionic_get_fecparam()
369 fec->active_fec = ETHTOOL_FEC_BASER; in ionic_get_fecparam()
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_ethtool.c700 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 Den_ethtool.c970 u32 active_fec; in get_fec_supported_advertised() local
974 err = mlx5e_get_fec_mode(dev, &active_fec, NULL); in get_fec_supported_advertised()
987 active_fec_long = active_fec; in get_fec_supported_advertised()
1843 fecparam->active_fec = pplm2ethtool_fec((unsigned long)fec_active, in mlx5e_get_fecparam()
1846 if (!fecparam->active_fec) in mlx5e_get_fecparam()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c3097 u8 active_fec; in bnxt_get_fecparam() local
3102 active_fec = link_info->active_fec_sig_mode & in bnxt_get_fecparam()
3106 fec->active_fec = ETHTOOL_FEC_NONE; in bnxt_get_fecparam()
3118 switch (active_fec) { in bnxt_get_fecparam()
3120 fec->active_fec |= ETHTOOL_FEC_BASER; in bnxt_get_fecparam()
3125 fec->active_fec |= ETHTOOL_FEC_RS; in bnxt_get_fecparam()
3129 fec->active_fec |= ETHTOOL_FEC_LLRS; in bnxt_get_fecparam()
3132 fec->active_fec |= ETHTOOL_FEC_OFF; in bnxt_get_fecparam()
H A Dbnxt.c11376 u8 active_fec = link_info->active_fec_sig_mode & in bnxt_report_fec() local
11379 switch (active_fec) { in bnxt_report_fec()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.h347 u8 active_fec; member
H A Dhclge_main.c3297 if (!resp->active_fec) in hclge_get_sfp_info()
3300 mac->fec_mode = BIT(resp->active_fec); in hclge_get_sfp_info()
/linux/include/uapi/linux/
H A Dethtool.h1812 __u32 active_fec; member
/linux/include/linux/qed/
H A Dqed_if.h754 u32 active_fec; member
/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_ethtool.c3063 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 Dnfp_net_ethtool.c1242 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 Dice_ethtool.c1643 fecparam->active_fec = ETHTOOL_FEC_BASER; in ice_get_fecparam()
1647 fecparam->active_fec = ETHTOOL_FEC_RS; in ice_get_fecparam()
1650 fecparam->active_fec = ETHTOOL_FEC_OFF; in ice_get_fecparam()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c1008 fecparam->active_fec = fec[pfvf->linfo.fec]; in otx2_get_fecparam()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c1575 fecparam->active_fec = ETHTOOL_FEC_BASER; in i40e_get_fec_param()
1577 fecparam->active_fec = ETHTOOL_FEC_RS; in i40e_get_fec_param()
1579 fecparam->active_fec = ETHTOOL_FEC_OFF; in i40e_get_fec_param()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c832 fec->active_fec = cc_to_eth_fec(lc->fec); in get_fecparam()
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dcxgb4vf_main.c1544 fec->active_fec = cc_to_eth_fec(lc->fec); in cxgb4vf_get_fecparam()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_main.c2124 if_link->active_fec = params.fec; in qed_fill_link()