Home
last modified time | relevance | path

Searched refs:fec_stats (Results 1 – 19 of 19) sorted by relevance

/drivers/net/netdevsim/
A Dethtool.c169 nsim_get_fec_stats(struct net_device *dev, struct ethtool_fec_stats *fec_stats) in nsim_get_fec_stats() argument
171 fec_stats->corrected_blocks.total = 123; in nsim_get_fec_stats()
172 fec_stats->uncorrectable_blocks.total = 4; in nsim_get_fec_stats()
/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_ethtool.c224 struct fec_stats_s *p = &rsp->fwdata.phy.fec_stats; in otx2_get_ethtool_stats()
1286 struct ethtool_fec_stats *fec_stats) in otx2_get_fec_stats() argument
1294 fec_stats->corrected_blocks.total = pfvf->hw.cgx_fec_corr_blks; in otx2_get_fec_stats()
1295 fec_stats->uncorrectable_blocks.total = pfvf->hw.cgx_fec_uncorr_blks; in otx2_get_fec_stats()
1305 struct fec_stats_s *p = &rsp->fwdata.phy.fec_stats; in otx2_get_fec_stats()
1308 fec_stats->corrected_blocks.total = p->brfec_corr_blks; in otx2_get_fec_stats()
1309 fec_stats->uncorrectable_blocks.total = p->brfec_uncorr_blks; in otx2_get_fec_stats()
1311 fec_stats->corrected_blocks.total = p->rsfec_corr_cws; in otx2_get_fec_stats()
1312 fec_stats->uncorrectable_blocks.total = p->rsfec_uncorr_cws; in otx2_get_fec_stats()
/drivers/net/ethernet/sfc/siena/
A Dethtool.c220 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()
A Dnet_driver.h1327 struct ethtool_fec_stats *fec_stats);
/drivers/net/ethernet/sfc/
A Dethtool.c220 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()
A Dnet_driver.h1428 struct ethtool_fec_stats *fec_stats);
A Def10.c1764 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()
/drivers/net/ethernet/mellanox/mlx5/core/
A Den_stats.c1417 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 …]
A Den_stats.h120 struct ethtool_fec_stats *fec_stats);
A Den_ethtool.c1930 struct ethtool_fec_stats *fec_stats) in mlx5e_get_fec_stats() argument
1934 mlx5e_stats_fec_get(priv, fec_stats); in mlx5e_get_fec_stats()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_main.c2755 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 …]
A Dhclge_main.h875 struct hclge_fec_stats fec_stats; member
/drivers/net/ethernet/freescale/
A Dfec_main.c2909 } fec_stats[] = { variable
2972 #define FEC_STATS_SIZE (ARRAY_SIZE(fec_stats) * sizeof(u64))
2989 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) in fec_enet_update_ethtool_stats()
2990 fep->ethtool_stats[i] = readl(fep->hwp + fec_stats[i].offset); in fec_enet_update_ethtool_stats()
3052 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) { in fec_enet_get_strings()
3053 ethtool_puts(&data, fec_stats[i].name); in fec_enet_get_strings()
3073 count = ARRAY_SIZE(fec_stats) + XDP_STATS_TOTAL; in fec_enet_get_sset_count()
3093 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) in fec_enet_clear_ethtool_stats()
3094 writel(0, fep->hwp + fec_stats[i].offset); in fec_enet_clear_ethtool_stats()
/drivers/net/ethernet/intel/ice/
A Dice_ethtool.c4581 struct ethtool_fec_stats *fec_stats) in ice_get_port_fec_stats() argument
4612 fec_stats->corrected_blocks.total = (fec_corr_high_val << 16) + in ice_get_port_fec_stats()
4614 fec_stats->uncorrectable_blocks.total = (fec_uncorr_high_val << 16) + in ice_get_port_fec_stats()
4626 struct ethtool_fec_stats *fec_stats) in ice_get_fec_stats() argument
4652 port_topology.pcs_port, fec_stats); in ice_get_fec_stats()
/drivers/net/ethernet/hisilicon/hns3/
A Dhnae3.h631 struct ethtool_fec_stats *fec_stats);
A Dhns3_ethtool.c1662 struct ethtool_fec_stats *fec_stats) in hns3_get_fec_stats() argument
1671 ops->get_fec_stats(handle, fec_stats); in hns3_get_fec_stats()
/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_debugfs.c3063 phy->fec_stats.rsfec_corr_cws); in cgx_print_fwdata()
3065 phy->fec_stats.rsfec_uncorr_cws); in cgx_print_fwdata()
3067 phy->fec_stats.brfec_corr_blks); in cgx_print_fwdata()
3069 phy->fec_stats.brfec_uncorr_blks); in cgx_print_fwdata()
A Dmbox.h652 } fec_stats; member
/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ethtool.c3188 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()

Completed in 138 milliseconds