Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/sfc/siena/
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()
Dnet_driver.h1340 struct ethtool_fec_stats *fec_stats);
/linux-6.1.9/drivers/net/ethernet/sfc/
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()
Dnet_driver.h1414 struct ethtool_fec_stats *fec_stats);
Def10.c1751 struct ethtool_fec_stats *fec_stats) in efx_ef10_get_fec_stats() argument
1759 fec_stats->corrected_blocks.total = in efx_ef10_get_fec_stats()
1762 fec_stats->uncorrectable_blocks.total = in efx_ef10_get_fec_stats()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.c1272 fec_stats->corrected_blocks.lanes[(idx)] = \
1275 fec_stats->uncorrectable_blocks.lanes[(idx)] = \
1280 static void fec_set_fc_stats(struct ethtool_fec_stats *fec_stats, in fec_set_fc_stats() argument
1293 static void fec_set_rs_stats(struct ethtool_fec_stats *fec_stats, u32 *ppcnt) in fec_set_rs_stats() argument
1295 fec_stats->corrected_blocks.total = in fec_set_rs_stats()
1298 fec_stats->uncorrectable_blocks.total = in fec_set_rs_stats()
1304 struct ethtool_fec_stats *fec_stats) in fec_set_block_stats() argument
1324 fec_set_rs_stats(fec_stats, out); in fec_set_block_stats()
1327 fec_set_fc_stats(fec_stats, out, fec_num_lanes(mdev)); in fec_set_block_stats()
1332 struct ethtool_fec_stats *fec_stats) in fec_set_corrected_bits_total() argument
[all …]
Den_stats.h118 struct ethtool_fec_stats *fec_stats);
Den_ethtool.c1628 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-6.1.9/drivers/net/ethernet/freescale/
Dfec_main.c2617 } fec_stats[] = { variable
2680 #define FEC_STATS_SIZE (ARRAY_SIZE(fec_stats) * sizeof(u64))
2687 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) in fec_enet_update_ethtool_stats()
2688 fep->ethtool_stats[i] = readl(fep->hwp + fec_stats[i].offset); in fec_enet_update_ethtool_stats()
2708 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) in fec_enet_get_strings()
2710 fec_stats[i].name, ETH_GSTRING_LEN); in fec_enet_get_strings()
2722 return ARRAY_SIZE(fec_stats); in fec_enet_get_sset_count()
2738 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) in fec_enet_clear_ethtool_stats()
2739 writel(0, fep->hwp + fec_stats[i].offset); in fec_enet_clear_ethtool_stats()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c2789 hdev->fec_stats.per_lanes[i] += in hclge_parse_fec_stats_lanes()
2802 hdev->fec_stats.base_r_lane_num = req->base_r_lane_num; in hclge_parse_fec_stats()
2803 hdev->fec_stats.rs_corr_blocks += in hclge_parse_fec_stats()
2805 hdev->fec_stats.rs_uncorr_blocks += in hclge_parse_fec_stats()
2807 hdev->fec_stats.rs_error_blocks += in hclge_parse_fec_stats()
2809 hdev->fec_stats.base_r_corr_blocks += in hclge_parse_fec_stats()
2811 hdev->fec_stats.base_r_uncorr_blocks += in hclge_parse_fec_stats()
2857 struct ethtool_fec_stats *fec_stats) in hclge_get_fec_stats_total() argument
2859 fec_stats->corrected_blocks.total = hdev->fec_stats.rs_corr_blocks; in hclge_get_fec_stats_total()
2860 fec_stats->uncorrectable_blocks.total = in hclge_get_fec_stats_total()
[all …]
Dhclge_main.h851 struct hclge_fec_stats fec_stats; member
/linux-6.1.9/include/linux/
Dethtool.h734 struct ethtool_fec_stats *fec_stats);
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h590 struct ethtool_fec_stats *fec_stats);
Dhns3_ethtool.c1649 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.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c232 struct fec_stats_s *p = &rsp->fwdata.phy.fec_stats; in otx2_get_ethtool_stats()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.h604 } fec_stats; member
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1997 struct ethtool_fec_stats *fec_stats) in bnxt_get_fec_stats() argument
2006 fec_stats->corrected_bits.total = in bnxt_get_fec_stats()