Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c682 u32 active_fec = 0; in get_fec_supported_advertised() local
691 err = mlx5e_get_fec_mode(dev, &active_fec, NULL); in get_fec_supported_advertised()
702 active_fec = pplm2ethtool_fec(active_fec, sizeof(u32) * BITS_PER_BYTE); in get_fec_supported_advertised()
703 offset = ethtool_fec2ethtool_caps(active_fec); in get_fec_supported_advertised()
1543 fecparam->active_fec = pplm2ethtool_fec((u_long)fec_active, in mlx5e_get_fecparam()
1546 if (!fecparam->active_fec) in mlx5e_get_fecparam()
/Linux-v5.4/drivers/net/ethernet/sfc/
Dmcdi_port.c699 fec->active_fec = ETHTOOL_FEC_OFF; in efx_mcdi_phy_get_fecparam()
702 fec->active_fec = ETHTOOL_FEC_BASER; in efx_mcdi_phy_get_fecparam()
705 fec->active_fec = ETHTOOL_FEC_RS; in efx_mcdi_phy_get_fecparam()
714 fec->active_fec = ETHTOOL_FEC_AUTO; in efx_mcdi_phy_get_fecparam()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c734 param->active_fec = ETHTOOL_FEC_NONE_BIT; in nfp_port_get_fecparam()
746 param->active_fec = nfp_port_fec_nsp_to_ethtool(eth_port->fec); in nfp_port_get_fecparam()
/Linux-v5.4/include/uapi/linux/
Dethtool.h1305 __u32 active_fec; member
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.h634 u8 active_fec; member
Dhclge_main.c2811 if (!resp->active_fec) in hclge_get_sfp_info()
2814 mac->fec_mode = BIT(resp->active_fec); in hclge_get_sfp_info()
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_ethtool.c1073 fecparam->active_fec = ETHTOOL_FEC_BASER; in ice_get_fecparam()
1078 fecparam->active_fec = ETHTOOL_FEC_RS; in ice_get_fecparam()
1081 fecparam->active_fec = ETHTOOL_FEC_OFF; in ice_get_fecparam()
/Linux-v5.4/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c3059 fec->active_fec = ETHTOOL_FEC_NONE; in lio_get_fecparam()
3070 fec->active_fec = ETHTOOL_FEC_RS; in lio_get_fecparam()
3072 fec->active_fec = ETHTOOL_FEC_OFF; in lio_get_fecparam()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c1371 fec->active_fec = loc_to_eth_fec(fec_mode); in hns3_get_fecparam()
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c1466 fecparam->active_fec = ETHTOOL_FEC_BASER; in i40e_get_fec_param()
1468 fecparam->active_fec = ETHTOOL_FEC_RS; in i40e_get_fec_param()
1470 fecparam->active_fec = ETHTOOL_FEC_OFF; in i40e_get_fec_param()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c762 fec->active_fec = cc_to_eth_fec(lc->fec); in get_fecparam()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c1546 fec->active_fec = cc_to_eth_fec(lc->fec); in cxgb4vf_get_fecparam()