Home
last modified time | relevance | path

Searched refs:fec_stats (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c238 struct fec_stats_s *p = &rsp->fwdata.phy.fec_stats; in otx2_get_ethtool_stats()
1287 struct ethtool_fec_stats *fec_stats) in otx2_get_fec_stats()
1295 fec_stats->corrected_blocks.total = pfvf->hw.cgx_fec_corr_blks; in otx2_get_fec_stats()
1296 fec_stats->uncorrectable_blocks.total = pfvf->hw.cgx_fec_uncorr_blks; in otx2_get_fec_stats()
1306 struct fec_stats_s *p = &rsp->fwdata.phy.fec_stats; in otx2_get_fec_stats()
1309 fec_stats->corrected_blocks.total = p->brfec_corr_blks; in otx2_get_fec_stats()
1310 fec_stats->uncorrectable_blocks.total = p->brfec_uncorr_blks; in otx2_get_fec_stats()
1312 fec_stats->corrected_blocks.total = p->rsfec_corr_cws; in otx2_get_fec_stats()
1313 fec_stats->uncorrectable_blocks.total = p->rsfec_uncorr_cws; in otx2_get_fec_stats()
1286 otx2_get_fec_stats(struct net_device *netdev, struct ethtool_fec_stats *fec_stats) otx2_get_fec_stats() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dethtool.c220 struct ethtool_fec_stats *fec_stats) in efx_ethtool_get_fec_stats()
225 efx->type->get_fec_stats(efx, fec_stats); in efx_ethtool_get_fec_stats()
219 efx_ethtool_get_fec_stats(struct net_device *net_dev, struct ethtool_fec_stats *fec_stats) efx_ethtool_get_fec_stats() argument
H A Dnet_driver.h1389 struct ethtool_fec_stats *fec_stats);
H A Def10.c1764 struct ethtool_fec_stats *fec_stats) in efx_ef10_get_fec_stats()
1772 fec_stats->corrected_blocks.total = in efx_ef10_get_fec_stats()
1775 fec_stats->uncorrectable_blocks.total = in efx_ef10_get_fec_stats()
1763 efx_ef10_get_fec_stats(struct efx_nic *efx, struct ethtool_fec_stats *fec_stats) efx_ef10_get_fec_stats() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Dethtool.c220 struct ethtool_fec_stats *fec_stats) in efx_ethtool_get_fec_stats()
225 efx->type->get_fec_stats(efx, fec_stats); in efx_ethtool_get_fec_stats()
219 efx_ethtool_get_fec_stats(struct net_device *net_dev, struct ethtool_fec_stats *fec_stats) efx_ethtool_get_fec_stats() argument
H A Dnet_driver.h1340 struct ethtool_fec_stats *fec_stats);
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_stats.c1310 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()
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()
1341 fec_set_block_stats(struct mlx5e_priv *priv, struct ethtool_fec_stats *fec_stats) fec_set_block_stats() argument
1369 fec_set_corrected_bits_total(struct mlx5e_priv *priv, struct ethtool_fec_stats *fec_stats) fec_set_corrected_bits_total() argument
1389 mlx5e_stats_fec_get(struct mlx5e_priv *priv, struct ethtool_fec_stats *fec_stats) mlx5e_stats_fec_get() argument
[all...]
H A Den_stats.h118 struct ethtool_fec_stats *fec_stats);
H A Den_ethtool.c1633 struct ethtool_fec_stats *fec_stats) in mlx5e_get_fec_stats()
1637 mlx5e_stats_fec_get(priv, fec_stats); in mlx5e_get_fec_stats()
1632 mlx5e_get_fec_stats(struct net_device *netdev, struct ethtool_fec_stats *fec_stats) mlx5e_get_fec_stats() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
H A Dfec_main.c2430 } fec_stats[] = { variable
2493 #define FEC_STATS_SIZE (ARRAY_SIZE(fec_stats) * sizeof(u64))
2500 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) in fec_enet_update_ethtool_stats()
2501 fep->ethtool_stats[i] = readl(fep->hwp + fec_stats[i].offset); in fec_enet_update_ethtool_stats()
2521 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) in fec_enet_get_strings()
2523 fec_stats[i].name, ETH_GSTRING_LEN); in fec_enet_get_strings()
2532 return ARRAY_SIZE(fec_stats); in fec_enet_get_sset_count()
2546 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) in fec_enet_clear_ethtool_stats()
2547 writel(0, fep->hwp + fec_stats[i].offset); in fec_enet_clear_ethtool_stats()
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c2694 hdev->fec_stats.per_lanes[i] += in hclge_parse_fec_stats_lanes()
2707 hdev->fec_stats.base_r_lane_num = req->base_r_lane_num; in hclge_parse_fec_stats()
2708 hdev->fec_stats.rs_corr_blocks += in hclge_parse_fec_stats()
2710 hdev->fec_stats.rs_uncorr_blocks += in hclge_parse_fec_stats()
2712 hdev->fec_stats.rs_error_blocks += in hclge_parse_fec_stats()
2714 hdev->fec_stats.base_r_corr_blocks += in hclge_parse_fec_stats()
2716 hdev->fec_stats.base_r_uncorr_blocks += in hclge_parse_fec_stats()
2762 struct ethtool_fec_stats *fec_stats) in hclge_get_fec_stats_total()
2764 fec_stats->corrected_blocks.total = hdev->fec_stats in hclge_get_fec_stats_total()
2761 hclge_get_fec_stats_total(struct hclge_dev *hdev, struct ethtool_fec_stats *fec_stats) hclge_get_fec_stats_total() argument
2769 hclge_get_fec_stats_lanes(struct hclge_dev *hdev, struct ethtool_fec_stats *fec_stats) hclge_get_fec_stats_lanes() argument
2790 hclge_comm_get_fec_stats(struct hclge_dev *hdev, struct ethtool_fec_stats *fec_stats) hclge_comm_get_fec_stats() argument
2811 hclge_get_fec_stats(struct hnae3_handle *handle, struct ethtool_fec_stats *fec_stats) hclge_get_fec_stats() argument
[all...]
H A Dhclge_main.h854 struct hclge_fec_stats fec_stats; member
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/
H A Dfec_main.c2768 } fec_stats[] = { variable
2831 #define FEC_STATS_SIZE (ARRAY_SIZE(fec_stats) * sizeof(u64))
2848 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) in fec_enet_update_ethtool_stats()
2849 fep->ethtool_stats[i] = readl(fep->hwp + fec_stats[i].offset); in fec_enet_update_ethtool_stats()
2911 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) { in fec_enet_get_strings()
2912 memcpy(data, fec_stats[i].name, ETH_GSTRING_LEN); in fec_enet_get_strings()
2934 count = ARRAY_SIZE(fec_stats) + XDP_STATS_TOTAL; in fec_enet_get_sset_count()
2954 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) in fec_enet_clear_ethtool_stats()
2955 writel(0, fep->hwp + fec_stats[i].offset); in fec_enet_clear_ethtool_stats()
/kernel/linux/linux-6.6/include/linux/
H A Dethtool.h882 struct ethtool_fec_stats *fec_stats);
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c1994 struct ethtool_fec_stats *fec_stats) in bnxt_get_fec_stats()
2003 fec_stats->corrected_bits.total = in bnxt_get_fec_stats()
2009 fec_stats->corrected_blocks.total = in bnxt_get_fec_stats()
2011 fec_stats->uncorrectable_blocks.total = in bnxt_get_fec_stats()
1993 bnxt_get_fec_stats(struct net_device *dev, struct ethtool_fec_stats *fec_stats) bnxt_get_fec_stats() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/
H A Dhnae3.h605 struct ethtool_fec_stats *fec_stats);
H A Dhns3_ethtool.c1648 struct ethtool_fec_stats *fec_stats) in hns3_get_fec_stats()
1657 ops->get_fec_stats(handle, fec_stats); in hns3_get_fec_stats()
1647 hns3_get_fec_stats(struct net_device *netdev, struct ethtool_fec_stats *fec_stats) hns3_get_fec_stats() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmbox.h620 } fec_stats; member

Completed in 59 milliseconds