| /linux/drivers/net/netdevsim/ |
| H A D | ethtool.c | 176 nsim_get_fec_stats(struct net_device *dev, struct ethtool_fec_stats *fec_stats, in nsim_get_fec_stats() argument 183 fec_stats->corrected_blocks.total = 123; in nsim_get_fec_stats() 184 fec_stats->uncorrectable_blocks.total = 4; in nsim_get_fec_stats()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_ethtool.c | 226 struct fec_stats_s *p = &rsp->fwdata.phy.fec_stats; in otx2_get_ethtool_stats() 1317 struct ethtool_fec_stats *fec_stats, in otx2_get_fec_stats() 1326 fec_stats->corrected_blocks.total = pfvf->hw.cgx_fec_corr_blks; in otx2_get_fec_stats() 1327 fec_stats->uncorrectable_blocks.total = pfvf->hw.cgx_fec_uncorr_blks; in otx2_get_fec_stats() 1337 struct fec_stats_s *p = &rsp->fwdata.phy.fec_stats; 1340 fec_stats->corrected_blocks.total = p->brfec_corr_blks; 1341 fec_stats->uncorrectable_blocks.total = p->brfec_uncorr_blks; 1343 fec_stats->corrected_blocks.total = p->rsfec_corr_cws; 1344 fec_stats->uncorrectable_blocks.total = p->rsfec_uncorr_cws; 1299 otx2_get_fec_stats(struct net_device * netdev,struct ethtool_fec_stats * fec_stats,struct ethtool_fec_hist * hist) otx2_get_fec_stats() argument
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_stats.c | 1436 fec_stats->corrected_blocks.lanes[(idx)] = \ 1439 fec_stats->uncorrectable_blocks.lanes[(idx)] = \ 1444 static void fec_set_fc_stats(struct ethtool_fec_stats *fec_stats, in fec_set_fc_stats() argument 1457 static void fec_set_rs_stats(struct ethtool_fec_stats *fec_stats, u32 *ppcnt) in fec_set_rs_stats() argument 1459 fec_stats->corrected_blocks.total = in fec_set_rs_stats() 1462 fec_stats->uncorrectable_blocks.total = in fec_set_rs_stats() 1469 struct ethtool_fec_stats *fec_stats) in fec_set_block_stats() argument 1486 fec_set_rs_stats(fec_stats, out); in fec_set_block_stats() 1489 fec_set_fc_stats(fec_stats, out, fec_num_lanes(mdev)); in fec_set_block_stats() 1494 struct ethtool_fec_stats *fec_stats) in fec_set_corrected_bits_total() argument [all …]
|
| H A D | en_ethtool.c | 1933 struct ethtool_fec_stats *fec_stats, in mlx5e_get_fec_stats() 1938 mlx5e_stats_fec_get(priv, fec_stats, hist); in mlx5e_get_fecparam() 1928 mlx5e_get_fec_stats(struct net_device * netdev,struct ethtool_fec_stats * fec_stats,struct ethtool_fec_hist * hist) mlx5e_get_fec_stats() argument
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_main.c | 2691 hdev->fec_stats.per_lanes[i] += in hclge_parse_fec_stats_lanes() 2704 hdev->fec_stats.base_r_lane_num = req->base_r_lane_num; in hclge_parse_fec_stats() 2705 hdev->fec_stats.rs_corr_blocks += in hclge_parse_fec_stats() 2707 hdev->fec_stats.rs_uncorr_blocks += in hclge_parse_fec_stats() 2709 hdev->fec_stats.rs_error_blocks += in hclge_parse_fec_stats() 2711 hdev->fec_stats.base_r_corr_blocks += in hclge_parse_fec_stats() 2713 hdev->fec_stats.base_r_uncorr_blocks += in hclge_parse_fec_stats() 2759 struct ethtool_fec_stats *fec_stats) in hclge_update_fec_stats() 2761 fec_stats->corrected_blocks.total = hdev->fec_stats 2762 hclge_get_fec_stats_total(struct hclge_dev * hdev,struct ethtool_fec_stats * fec_stats) hclge_get_fec_stats_total() argument 2770 hclge_get_fec_stats_lanes(struct hclge_dev * hdev,struct ethtool_fec_stats * fec_stats) hclge_get_fec_stats_lanes() argument 2791 hclge_comm_get_fec_stats(struct hclge_dev * hdev,struct ethtool_fec_stats * fec_stats) hclge_comm_get_fec_stats() argument 2812 hclge_get_fec_stats(struct hnae3_handle * handle,struct ethtool_fec_stats * fec_stats) hclge_get_fec_stats() argument [all...] |
| H A D | hclge_main.h | 885 struct hclge_fec_stats fec_stats; member
|
| /linux/drivers/net/ethernet/freescale/ |
| H A D | fec_main.c | 3409 } fec_stats[] = { variable 3472 #define FEC_STATS_SIZE (ARRAY_SIZE(fec_stats) * sizeof(u64)) 3489 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) in fec_enet_update_ethtool_stats() 3490 fep->ethtool_stats[i] = readl(fep->hwp + fec_stats[i].offset); in fec_enet_update_ethtool_stats() 3552 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) { in fec_enet_get_strings() 3553 ethtool_puts(&data, fec_stats[i].name); in fec_enet_get_strings() 3573 count = ARRAY_SIZE(fec_stats) + XDP_STATS_TOTAL; in fec_enet_get_sset_count() 3593 for (i = 0; i < ARRAY_SIZE(fec_stats); i++) in fec_enet_clear_ethtool_stats() 3594 writel(0, fep->hwp + fec_stats[i].offset); in fec_enet_clear_ethtool_stats()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 1885 struct ethtool_fec_stats *fec_stats, 1896 fec_stats->corrected_blocks.total = in fbnic_get_eth_phy_stats() 1898 fec_stats->uncorrectable_blocks.total = in fbnic_get_eth_phy_stats() 1868 fbnic_get_fec_stats(struct net_device * netdev,struct ethtool_fec_stats * fec_stats,struct ethtool_fec_hist * hist) fbnic_get_fec_stats() argument
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ethtool.c | 4576 * @fec_stats: buffer to hold FEC statistics for given port 4581 struct ethtool_fec_stats *fec_stats) 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() 4622 * @fec_stats: buffer to hold FEC statistics for given port 4627 struct ethtool_fec_stats *fec_stats, 4654 port_topology.pcs_port, fec_stats); in ice_get_fec_stats() 4583 ice_get_port_fec_stats(struct ice_hw * hw,u16 pcs_quad,u16 pcs_port,struct ethtool_fec_stats * fec_stats) ice_get_port_fec_stats() argument 4629 ice_get_fec_stats(struct net_device * netdev,struct ethtool_fec_stats * fec_stats,struct ethtool_fec_hist * hist) ice_get_fec_stats() argument
|
| /linux/include/linux/ |
| H A D | ethtool.h | 1330 struct ethtool_fec_stats *fec_stats,
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | net_driver.h | 1327 struct ethtool_fec_stats *fec_stats);
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hnae3.h | 636 struct ethtool_fec_stats *fec_stats);
|
| H A D | hns3_ethtool.c | 1659 struct ethtool_fec_stats *fec_stats, in hns3_set_msglevel() 1669 ops->get_fec_stats(handle, fec_stats); in hns3_get_fec_stats() 1665 hns3_get_fec_stats(struct net_device * netdev,struct ethtool_fec_stats * fec_stats,struct ethtool_fec_hist * hist) hns3_get_fec_stats() argument
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | net_driver.h | 1429 struct ethtool_fec_stats *fec_stats);
|
| H A D | ef10.c | 1791 struct ethtool_fec_stats *fec_stats) in efx_ef10_get_fec_stats() argument 1799 fec_stats->corrected_blocks.total = in efx_ef10_get_fec_stats() 1802 fec_stats->uncorrectable_blocks.total = in efx_ef10_get_fec_stats()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_debugfs.c | 3061 phy->fec_stats.rsfec_corr_cws); in cgx_print_fwdata() 3063 phy->fec_stats.rsfec_uncorr_cws); in cgx_print_fwdata() 3065 phy->fec_stats.brfec_corr_blks); in rvu_dbg_cgx_fwdata_display() 3067 phy->fec_stats.brfec_uncorr_blks); in rvu_dbg_cgx_fwdata_display()
|
| H A D | mbox.h | 693 } fec_stats; member
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ethtool.c | 3305 struct ethtool_fec_stats *fec_stats, in bnxt_get_fec_stats() argument 3315 fec_stats->corrected_bits.total = in bnxt_get_fec_stats() 3321 fec_stats->corrected_blocks.total = in bnxt_get_fec_stats() 3323 fec_stats->uncorrectable_blocks.total = in bnxt_get_fec_stats()
|