| /linux-6.15/drivers/net/netdevsim/ |
| H A D | ethtool.c | 148 nsim_get_fec_stats(struct net_device *dev, struct ethtool_fec_stats *fec_stats) in nsim_get_fec_stats() argument 150 fec_stats->corrected_blocks.total = 123; in nsim_get_fec_stats() 151 fec_stats->uncorrectable_blocks.total = 4; in nsim_get_fec_stats()
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_ethtool.c | 223 struct fec_stats_s *p = &rsp->fwdata.phy.fec_stats; in otx2_get_ethtool_stats() 1276 struct ethtool_fec_stats *fec_stats) in otx2_get_fec_stats() argument 1284 fec_stats->corrected_blocks.total = pfvf->hw.cgx_fec_corr_blks; in otx2_get_fec_stats() 1285 fec_stats->uncorrectable_blocks.total = pfvf->hw.cgx_fec_uncorr_blks; in otx2_get_fec_stats() 1295 struct fec_stats_s *p = &rsp->fwdata.phy.fec_stats; in otx2_get_fec_stats() 1298 fec_stats->corrected_blocks.total = p->brfec_corr_blks; in otx2_get_fec_stats() 1299 fec_stats->uncorrectable_blocks.total = p->brfec_uncorr_blks; in otx2_get_fec_stats() 1301 fec_stats->corrected_blocks.total = p->rsfec_corr_cws; in otx2_get_fec_stats() 1302 fec_stats->uncorrectable_blocks.total = p->rsfec_uncorr_cws; in otx2_get_fec_stats()
|
| /linux-6.15/drivers/net/ethernet/sfc/siena/ |
| H A D | ethtool.c | 220 struct ethtool_fec_stats *fec_stats) in efx_ethtool_get_fec_stats() argument 225 efx->type->get_fec_stats(efx, fec_stats); in efx_ethtool_get_fec_stats()
|
| H A D | net_driver.h | 1329 struct ethtool_fec_stats *fec_stats);
|
| /linux-6.15/drivers/net/ethernet/sfc/ |
| H A D | ethtool.c | 220 struct ethtool_fec_stats *fec_stats) in efx_ethtool_get_fec_stats() argument 225 efx->type->get_fec_stats(efx, fec_stats); in efx_ethtool_get_fec_stats()
|
| H A D | net_driver.h | 1430 struct ethtool_fec_stats *fec_stats);
|
| H A D | ef10.c | 1764 struct ethtool_fec_stats *fec_stats) in efx_ef10_get_fec_stats() argument 1772 fec_stats->corrected_blocks.total = in efx_ef10_get_fec_stats() 1775 fec_stats->uncorrectable_blocks.total = in efx_ef10_get_fec_stats()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_stats.c | 1417 fec_stats->corrected_blocks.lanes[(idx)] = \ 1420 fec_stats->uncorrectable_blocks.lanes[(idx)] = \ 1440 fec_stats->corrected_blocks.total = in fec_set_rs_stats() 1443 fec_stats->uncorrectable_blocks.total = in fec_set_rs_stats() 1449 struct ethtool_fec_stats *fec_stats) in fec_set_block_stats() argument 1469 fec_set_rs_stats(fec_stats, out); in fec_set_block_stats() 1477 struct ethtool_fec_stats *fec_stats) in fec_set_corrected_bits_total() argument 1490 fec_stats->corrected_bits.total = in fec_set_corrected_bits_total() 1497 struct ethtool_fec_stats *fec_stats) in mlx5e_stats_fec_get() argument 1502 fec_set_corrected_bits_total(priv, fec_stats); in mlx5e_stats_fec_get() [all …]
|
| H A D | en_stats.h | 120 struct ethtool_fec_stats *fec_stats);
|
| H A D | en_ethtool.c | 1836 struct ethtool_fec_stats *fec_stats) in mlx5e_get_fec_stats() argument 1840 mlx5e_stats_fec_get(priv, fec_stats); in mlx5e_get_fec_stats()
|
| /linux-6.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_main.c | 2755 hdev->fec_stats.per_lanes[i] += in hclge_parse_fec_stats_lanes() 2769 hdev->fec_stats.rs_corr_blocks += in hclge_parse_fec_stats() 2771 hdev->fec_stats.rs_uncorr_blocks += in hclge_parse_fec_stats() 2773 hdev->fec_stats.rs_error_blocks += in hclge_parse_fec_stats() 2775 hdev->fec_stats.base_r_corr_blocks += in hclge_parse_fec_stats() 2777 hdev->fec_stats.base_r_uncorr_blocks += in hclge_parse_fec_stats() 2825 fec_stats->corrected_blocks.total = hdev->fec_stats.rs_corr_blocks; in hclge_get_fec_stats_total() 2826 fec_stats->uncorrectable_blocks.total = in hclge_get_fec_stats_total() 2827 hdev->fec_stats.rs_uncorr_blocks; in hclge_get_fec_stats_total() 2839 hdev->fec_stats.base_r_lane_num); in hclge_get_fec_stats_lanes() [all …]
|
| H A D | hclge_main.h | 875 struct hclge_fec_stats fec_stats; member
|
| /linux-6.15/drivers/net/ethernet/freescale/ |
| H A D | fec_main.c | 2904 } fec_stats[] = { variable 2967 #define FEC_STATS_SIZE (ARRAY_SIZE(fec_stats) * sizeof(u64)) 2984 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) in fec_enet_update_ethtool_stats() 2985 fep->ethtool_stats[i] = readl(fep->hwp + fec_stats[i].offset); in fec_enet_update_ethtool_stats() 3047 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) { in fec_enet_get_strings() 3048 ethtool_puts(&data, fec_stats[i].name); in fec_enet_get_strings() 3068 count = ARRAY_SIZE(fec_stats) + XDP_STATS_TOTAL; in fec_enet_get_sset_count() 3088 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) in fec_enet_clear_ethtool_stats() 3089 writel(0, fep->hwp + fec_stats[i].offset); in fec_enet_clear_ethtool_stats()
|
| /linux-6.15/include/linux/ |
| H A D | ethtool.h | 1117 struct ethtool_fec_stats *fec_stats);
|
| /linux-6.15/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ethtool.c | 4616 struct ethtool_fec_stats *fec_stats) in ice_get_port_fec_stats() argument 4647 fec_stats->corrected_blocks.total = (fec_corr_high_val << 16) + in ice_get_port_fec_stats() 4649 fec_stats->uncorrectable_blocks.total = (fec_uncorr_high_val << 16) + in ice_get_port_fec_stats() 4661 struct ethtool_fec_stats *fec_stats) in ice_get_fec_stats() argument 4687 port_topology.pcs_port, fec_stats); in ice_get_fec_stats()
|
| /linux-6.15/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hnae3.h | 624 struct ethtool_fec_stats *fec_stats);
|
| H A D | hns3_ethtool.c | 1649 struct ethtool_fec_stats *fec_stats) in hns3_get_fec_stats() argument 1658 ops->get_fec_stats(handle, fec_stats); in hns3_get_fec_stats()
|
| /linux-6.15/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ethtool.c | 3188 struct ethtool_fec_stats *fec_stats) in bnxt_get_fec_stats() argument 3197 fec_stats->corrected_bits.total = in bnxt_get_fec_stats() 3203 fec_stats->corrected_blocks.total = in bnxt_get_fec_stats() 3205 fec_stats->uncorrectable_blocks.total = in bnxt_get_fec_stats()
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | mbox.h | 641 } fec_stats; member
|