/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ethtool.c | 238 struct fec_stats_s *p = &rsp->fwdata.phy.fec_stats; in otx2_get_ethtool_stats() 1284 struct ethtool_fec_stats *fec_stats) in otx2_get_fec_stats() argument 1292 fec_stats->corrected_blocks.total = pfvf->hw.cgx_fec_corr_blks; in otx2_get_fec_stats() 1293 fec_stats->uncorrectable_blocks.total = pfvf->hw.cgx_fec_uncorr_blks; in otx2_get_fec_stats() 1303 struct fec_stats_s *p = &rsp->fwdata.phy.fec_stats; in otx2_get_fec_stats() 1306 fec_stats->corrected_blocks.total = p->brfec_corr_blks; in otx2_get_fec_stats() 1307 fec_stats->uncorrectable_blocks.total = p->brfec_uncorr_blks; in otx2_get_fec_stats() 1309 fec_stats->corrected_blocks.total = p->rsfec_corr_cws; in otx2_get_fec_stats() 1310 fec_stats->uncorrectable_blocks.total = p->rsfec_uncorr_cws; in otx2_get_fec_stats()
|
/Linux-v6.6/drivers/net/ethernet/sfc/ |
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()
|
D | net_driver.h | 1389 struct ethtool_fec_stats *fec_stats);
|
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-v6.6/drivers/net/ethernet/sfc/siena/ |
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()
|
D | net_driver.h | 1340 struct ethtool_fec_stats *fec_stats);
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_stats.c | 1310 fec_stats->corrected_blocks.lanes[(idx)] = \ 1313 fec_stats->uncorrectable_blocks.lanes[(idx)] = \ 1318 static void fec_set_fc_stats(struct ethtool_fec_stats *fec_stats, in fec_set_fc_stats() argument 1331 static void fec_set_rs_stats(struct ethtool_fec_stats *fec_stats, u32 *ppcnt) in fec_set_rs_stats() argument 1333 fec_stats->corrected_blocks.total = in fec_set_rs_stats() 1336 fec_stats->uncorrectable_blocks.total = in fec_set_rs_stats() 1342 struct ethtool_fec_stats *fec_stats) in fec_set_block_stats() argument 1362 fec_set_rs_stats(fec_stats, out); in fec_set_block_stats() 1365 fec_set_fc_stats(fec_stats, out, fec_num_lanes(mdev)); in fec_set_block_stats() 1370 struct ethtool_fec_stats *fec_stats) in fec_set_corrected_bits_total() argument [all …]
|
D | en_stats.h | 118 struct ethtool_fec_stats *fec_stats);
|
D | en_ethtool.c | 1628 struct ethtool_fec_stats *fec_stats) in mlx5e_get_fec_stats() argument 1632 mlx5e_stats_fec_get(priv, fec_stats); in mlx5e_get_fec_stats()
|
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 2693 hdev->fec_stats.per_lanes[i] += in hclge_parse_fec_stats_lanes() 2706 hdev->fec_stats.base_r_lane_num = req->base_r_lane_num; in hclge_parse_fec_stats() 2707 hdev->fec_stats.rs_corr_blocks += in hclge_parse_fec_stats() 2709 hdev->fec_stats.rs_uncorr_blocks += in hclge_parse_fec_stats() 2711 hdev->fec_stats.rs_error_blocks += in hclge_parse_fec_stats() 2713 hdev->fec_stats.base_r_corr_blocks += in hclge_parse_fec_stats() 2715 hdev->fec_stats.base_r_uncorr_blocks += in hclge_parse_fec_stats() 2761 struct ethtool_fec_stats *fec_stats) in hclge_get_fec_stats_total() argument 2763 fec_stats->corrected_blocks.total = hdev->fec_stats.rs_corr_blocks; in hclge_get_fec_stats_total() 2764 fec_stats->uncorrectable_blocks.total = in hclge_get_fec_stats_total() [all …]
|
D | hclge_main.h | 854 struct hclge_fec_stats fec_stats; member
|
/Linux-v6.6/drivers/net/ethernet/freescale/ |
D | fec_main.c | 2766 } fec_stats[] = { variable 2829 #define FEC_STATS_SIZE (ARRAY_SIZE(fec_stats) * sizeof(u64)) 2846 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) in fec_enet_update_ethtool_stats() 2847 fep->ethtool_stats[i] = readl(fep->hwp + fec_stats[i].offset); in fec_enet_update_ethtool_stats() 2909 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) { in fec_enet_get_strings() 2910 memcpy(data, fec_stats[i].name, ETH_GSTRING_LEN); in fec_enet_get_strings() 2932 count = ARRAY_SIZE(fec_stats) + XDP_STATS_TOTAL; in fec_enet_get_sset_count() 2952 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) in fec_enet_clear_ethtool_stats() 2953 writel(0, fep->hwp + fec_stats[i].offset); in fec_enet_clear_ethtool_stats()
|
/Linux-v6.6/include/linux/ |
D | ethtool.h | 882 struct ethtool_fec_stats *fec_stats);
|
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 605 struct ethtool_fec_stats *fec_stats);
|
D | hns3_ethtool.c | 1648 struct ethtool_fec_stats *fec_stats) in hns3_get_fec_stats() argument 1657 ops->get_fec_stats(handle, fec_stats); in hns3_get_fec_stats()
|
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 2000 struct ethtool_fec_stats *fec_stats) in bnxt_get_fec_stats() argument 2009 fec_stats->corrected_bits.total = in bnxt_get_fec_stats() 2015 fec_stats->corrected_blocks.total = in bnxt_get_fec_stats() 2017 fec_stats->uncorrectable_blocks.total = in bnxt_get_fec_stats()
|
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.h | 614 } fec_stats; member
|