Home
last modified time | relevance | path

Searched refs:hwstat (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/
Ddnet.c655 static inline void dnet_print_pretty_hwstats(struct dnet_stats *hwstat) in dnet_print_pretty_hwstats() argument
660 pr_debug("RX_PKT_IGNR_CNT %-8x\n", hwstat->rx_pkt_ignr); in dnet_print_pretty_hwstats()
661 pr_debug("RX_LEN_CHK_ERR_CNT %-8x\n", hwstat->rx_len_chk_err); in dnet_print_pretty_hwstats()
662 pr_debug("RX_LNG_FRM_CNT %-8x\n", hwstat->rx_lng_frm); in dnet_print_pretty_hwstats()
663 pr_debug("RX_SHRT_FRM_CNT %-8x\n", hwstat->rx_shrt_frm); in dnet_print_pretty_hwstats()
664 pr_debug("RX_IPG_VIOL_CNT %-8x\n", hwstat->rx_ipg_viol); in dnet_print_pretty_hwstats()
665 pr_debug("RX_CRC_ERR_CNT %-8x\n", hwstat->rx_crc_err); in dnet_print_pretty_hwstats()
666 pr_debug("RX_OK_PKT_CNT %-8x\n", hwstat->rx_ok_pkt); in dnet_print_pretty_hwstats()
667 pr_debug("RX_CTL_FRM_CNT %-8x\n", hwstat->rx_ctl_frm); in dnet_print_pretty_hwstats()
668 pr_debug("RX_PAUSE_FRM_CNT %-8x\n", hwstat->rx_pause_frm); in dnet_print_pretty_hwstats()
[all …]
/linux-6.1.9/drivers/net/ethernet/broadcom/
Db44.c1679 struct b44_hw_stats *hwstat = &bp->hw_stats; in b44_get_stats64() local
1683 start = u64_stats_fetch_begin_irq(&hwstat->syncp); in b44_get_stats64()
1686 nstat->rx_packets = hwstat->rx_pkts; in b44_get_stats64()
1687 nstat->tx_packets = hwstat->tx_pkts; in b44_get_stats64()
1688 nstat->rx_bytes = hwstat->rx_octets; in b44_get_stats64()
1689 nstat->tx_bytes = hwstat->tx_octets; in b44_get_stats64()
1690 nstat->tx_errors = (hwstat->tx_jabber_pkts + in b44_get_stats64()
1691 hwstat->tx_oversize_pkts + in b44_get_stats64()
1692 hwstat->tx_underruns + in b44_get_stats64()
1693 hwstat->tx_excessive_cols + in b44_get_stats64()
[all …]
/linux-6.1.9/drivers/net/ethernet/cadence/
Dmacb_main.c2974 struct gem_stats *hwstat = &bp->hw_stats.gem; in gem_get_stats() local
2982 nstat->rx_errors = (hwstat->rx_frame_check_sequence_errors + in gem_get_stats()
2983 hwstat->rx_alignment_errors + in gem_get_stats()
2984 hwstat->rx_resource_errors + in gem_get_stats()
2985 hwstat->rx_overruns + in gem_get_stats()
2986 hwstat->rx_oversize_frames + in gem_get_stats()
2987 hwstat->rx_jabbers + in gem_get_stats()
2988 hwstat->rx_undersized_frames + in gem_get_stats()
2989 hwstat->rx_length_field_frame_errors); in gem_get_stats()
2990 nstat->tx_errors = (hwstat->tx_late_collisions + in gem_get_stats()
[all …]
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_iba6120.c1231 u64 val, config1, prev_val, hwstat, ibc; in qib_6120_bringup_serdes() local
1349 hwstat = qib_read_kreg64(dd, kr_hwerrstatus); in qib_6120_bringup_serdes()
1350 if (hwstat) { in qib_6120_bringup_serdes()
1352 qib_write_kreg(dd, kr_hwerrclear, hwstat); in qib_6120_bringup_serdes()