Home
last modified time | relevance | path

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

/linux/drivers/net/netdevsim/
H A Dethtool.c176 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 Dotx2_ethtool.c226 struct fec_stats_s *p = &rsp->fwdata.phy.fec_stats; in otx2_get_ethtool_stats()
1298 struct ethtool_fec_stats *fec_stats, in otx2_get_fec_stats() argument
1307 fec_stats->corrected_blocks.total = pfvf->hw.cgx_fec_corr_blks; in otx2_get_fec_stats()
1308 fec_stats->uncorrectable_blocks.total = pfvf->hw.cgx_fec_uncorr_blks; in otx2_get_fec_stats()
1318 struct fec_stats_s *p = &rsp->fwdata.phy.fec_stats; in otx2_get_fec_stats()
1321 fec_stats->corrected_blocks.total = p->brfec_corr_blks; in otx2_get_fec_stats()
1322 fec_stats->uncorrectable_blocks.total = p->brfec_uncorr_blks; in otx2_get_fec_stats()
1324 fec_stats->corrected_blocks.total = p->rsfec_corr_cws; in otx2_get_fec_stats()
1325 fec_stats->uncorrectable_blocks.total = p->rsfec_uncorr_cws; in otx2_get_fec_stats()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_stats.c1447 fec_stats->corrected_blocks.lanes[(idx)] = \
1450 fec_stats->uncorrectable_blocks.lanes[(idx)] = \
1455 static void fec_set_fc_stats(struct ethtool_fec_stats *fec_stats, in fec_set_fc_stats() argument
1468 static void fec_set_rs_stats(struct ethtool_fec_stats *fec_stats, u32 *ppcnt) in fec_set_rs_stats() argument
1470 fec_stats->corrected_blocks.total = in fec_set_rs_stats()
1473 fec_stats->uncorrectable_blocks.total = in fec_set_rs_stats()
1480 struct ethtool_fec_stats *fec_stats) in fec_set_block_stats() argument
1497 fec_set_rs_stats(fec_stats, out); in fec_set_block_stats()
1500 fec_set_fc_stats(fec_stats, out, fec_num_lanes(mdev)); in fec_set_block_stats()
1505 struct ethtool_fec_stats *fec_stats) in fec_set_corrected_bits_total() argument
[all …]
H A Den_ethtool.c1927 struct ethtool_fec_stats *fec_stats, in mlx5e_get_fec_stats() argument
1932 mlx5e_stats_fec_get(priv, fec_stats, hist); in mlx5e_get_fec_stats()
/linux/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() argument
2764 fec_stats->corrected_blocks.total = hdev->fec_stats.rs_corr_blocks; in hclge_get_fec_stats_total()
2765 fec_stats->uncorrectable_blocks.total = in hclge_get_fec_stats_total()
[all …]
H A Dhclge_main.h885 struct hclge_fec_stats fec_stats; member
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_ethtool.c1863 struct ethtool_fec_stats *fec_stats, in fbnic_get_fec_stats() argument
1874 fec_stats->corrected_blocks.total = in fbnic_get_fec_stats()
1876 fec_stats->uncorrectable_blocks.total = in fbnic_get_fec_stats()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c4583 struct ethtool_fec_stats *fec_stats) in ice_get_port_fec_stats() argument
4614 fec_stats->corrected_blocks.total = (fec_corr_high_val << 16) + in ice_get_port_fec_stats()
4616 fec_stats->uncorrectable_blocks.total = (fec_uncorr_high_val << 16) + in ice_get_port_fec_stats()
4629 struct ethtool_fec_stats *fec_stats, in ice_get_fec_stats() argument
4656 port_topology.pcs_port, fec_stats); in ice_get_fec_stats()
/linux/include/linux/
H A Dethtool.h1320 struct ethtool_fec_stats *fec_stats,
/linux/drivers/net/ethernet/sfc/siena/
H A Dnet_driver.h1327 struct ethtool_fec_stats *fec_stats);
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhnae3.h636 struct ethtool_fec_stats *fec_stats);
H A Dhns3_ethtool.c1665 struct ethtool_fec_stats *fec_stats, in hns3_get_fec_stats() argument
1675 ops->get_fec_stats(handle, fec_stats); in hns3_get_fec_stats()
/linux/drivers/net/ethernet/sfc/
H A Dnet_driver.h1438 struct ethtool_fec_stats *fec_stats);
H A Def10.c1791 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 Drvu_debugfs.c3079 phy->fec_stats.rsfec_corr_cws); in cgx_print_fwdata()
3081 phy->fec_stats.rsfec_uncorr_cws); in cgx_print_fwdata()
3083 phy->fec_stats.brfec_corr_blks); in cgx_print_fwdata()
3085 phy->fec_stats.brfec_uncorr_blks); in cgx_print_fwdata()
H A Dmbox.h693 } fec_stats; member
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c3305 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()