/kernel/linux/linux-6.6/net/ethtool/ |
H A D | fec.c | 14 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()
|
/kernel/linux/linux-6.6/drivers/net/netdevsim/ |
H A 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()
|
/kernel/linux/linux-6.6/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() 1898 fp->active_fec = notif->fec; in fun_update_link_state()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_ethtool.c | 349 fec->active_fec = ETHTOOL_FEC_OFF; in ionic_get_fecparam() 352 fec->active_fec = ETHTOOL_FEC_RS; in ionic_get_fecparam() 355 fec->active_fec = ETHTOOL_FEC_BASER; in ionic_get_fecparam()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | mcdi_port_common.c | 645 fec->active_fec = ETHTOOL_FEC_OFF; in efx_mcdi_phy_get_fecparam() 648 fec->active_fec = ETHTOOL_FEC_BASER; in efx_mcdi_phy_get_fecparam() 651 fec->active_fec = ETHTOOL_FEC_RS; in efx_mcdi_phy_get_fecparam() 660 fec->active_fec = ETHTOOL_FEC_AUTO; in efx_mcdi_phy_get_fecparam()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A 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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_ethtool.c | 685 fecparam->active_fec = port_fec_caps[active].eth_fec; in prestera_ethtool_get_fecparam() 687 fecparam->active_fec = ETHTOOL_FEC_AUTO; in prestera_ethtool_get_fecparam()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_ethtool.c | 716 u32 active_fec; in get_fec_supported_advertised() local 720 err = mlx5e_get_fec_mode(dev, &active_fec, NULL); in get_fec_supported_advertised() 733 active_fec_long = active_fec; in get_fec_supported_advertised() 1602 fecparam->active_fec = pplm2ethtool_fec((unsigned long)fec_active, in mlx5e_get_fecparam() 1605 if (!fecparam->active_fec) in mlx5e_get_fecparam()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A 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() 1654 fecparam->active_fec = pplm2ethtool_fec((unsigned long)fec_active, in mlx5e_get_fecparam() 1657 if (!fecparam->active_fec) in mlx5e_get_fecparam()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 1897 u8 active_fec; in bnxt_get_fecparam() local 1902 active_fec = link_info->active_fec_sig_mode & in bnxt_get_fecparam() 1906 fec->active_fec = ETHTOOL_FEC_NONE; in bnxt_get_fecparam() 1918 switch (active_fec) { in bnxt_get_fecparam() 1920 fec->active_fec |= ETHTOOL_FEC_BASER; in bnxt_get_fecparam() 1925 fec->active_fec |= ETHTOOL_FEC_RS; in bnxt_get_fecparam() 1929 fec->active_fec |= ETHTOOL_FEC_LLRS; in bnxt_get_fecparam() 1932 fec->active_fec |= ETHTOOL_FEC_OFF; in bnxt_get_fecparam()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_ethtool.c | 356 fec->active_fec = ETHTOOL_FEC_OFF; in ionic_get_fecparam() 359 fec->active_fec = ETHTOOL_FEC_RS; in ionic_get_fecparam() 362 fec->active_fec = ETHTOOL_FEC_BASER; in ionic_get_fecparam()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ethtool.c | 834 param->active_fec = ETHTOOL_FEC_NONE; in nfp_port_get_fecparam() 846 param->active_fec = nfp_port_fec_nsp_to_ethtool(eth_port->fec); in nfp_port_get_fecparam()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_ethtool.c | 1716 fec->active_fec = loc_to_eth_fec(fec_mode); in hns3_get_fecparam() 1717 if (!fec->active_fec) in hns3_get_fecparam() 1718 fec->active_fec = ETHTOOL_FEC_OFF; in hns3_get_fecparam()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_cmd.h | 347 u8 active_fec; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | ethtool.h | 449 __u32 active_fec; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_cmd.h | 669 u8 active_fec; member
|
/kernel/linux/linux-5.10/include/linux/qed/ |
H A D | qed_if.h | 732 u32 active_fec; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | ethtool.h | 1381 * @active_fec: FEC mode which is active on porte 1392 __u32 active_fec; member
|
/kernel/linux/linux-6.6/include/linux/qed/ |
H A D | qed_if.h | 754 u32 active_fec; member
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | ethtool.h | 1516 * @active_fec: FEC mode which is active on the port, single bit set, GET only. 1540 * @fec and @active_fec. 1545 __u32 active_fec; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | ethtool.h | 494 __u32 active_fec; member
|