Home
last modified time | relevance | path

Searched refs:nstat (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/
Ddnet.c692 struct net_device_stats *nstat = &dev->stats; in dnet_get_stats() local
699 nstat->rx_errors = (hwstat->rx_len_chk_err + in dnet_get_stats()
706 nstat->tx_errors = hwstat->tx_bad_fcs; in dnet_get_stats()
707 nstat->rx_length_errors = (hwstat->rx_len_chk_err + in dnet_get_stats()
710 nstat->rx_crc_errors = hwstat->rx_crc_err; in dnet_get_stats()
711 nstat->rx_frame_errors = hwstat->rx_pre_shrink + hwstat->rx_drib_nib; in dnet_get_stats()
712 nstat->rx_packets = hwstat->rx_ok_pkt; in dnet_get_stats()
713 nstat->tx_packets = (hwstat->tx_unicast + in dnet_get_stats()
715 nstat->rx_bytes = hwstat->rx_byte; in dnet_get_stats()
716 nstat->tx_bytes = hwstat->tx_byte; in dnet_get_stats()
[all …]
/drivers/net/ethernet/intel/i40e/
Di40e_debugfs.c117 struct rtnl_link_stats64 *nstat; in i40e_dbg_dump_vsi_seid() local
163 nstat = i40e_get_vsi_stats_struct(vsi); in i40e_dbg_dump_vsi_seid()
166 (unsigned long int)nstat->rx_packets, in i40e_dbg_dump_vsi_seid()
167 (unsigned long int)nstat->rx_bytes, in i40e_dbg_dump_vsi_seid()
168 (unsigned long int)nstat->rx_errors, in i40e_dbg_dump_vsi_seid()
169 (unsigned long int)nstat->rx_dropped); in i40e_dbg_dump_vsi_seid()
172 (unsigned long int)nstat->tx_packets, in i40e_dbg_dump_vsi_seid()
173 (unsigned long int)nstat->tx_bytes, in i40e_dbg_dump_vsi_seid()
174 (unsigned long int)nstat->tx_errors, in i40e_dbg_dump_vsi_seid()
175 (unsigned long int)nstat->tx_dropped); in i40e_dbg_dump_vsi_seid()
[all …]
/drivers/net/ethernet/broadcom/
Db44.c1676 struct rtnl_link_stats64 *nstat) in b44_get_stats64() argument
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()
1695 nstat->multicast = hwstat->rx_multicast_pkts; in b44_get_stats64()
1696 nstat->collisions = hwstat->tx_total_cols; in b44_get_stats64()
1698 nstat->rx_length_errors = (hwstat->rx_oversize_pkts + in b44_get_stats64()
1700 nstat->rx_over_errors = hwstat->rx_missed_pkts; in b44_get_stats64()
[all …]
/drivers/net/ethernet/cadence/
Dmacb_main.c2989 struct net_device_stats *nstat = &bp->dev->stats; in gem_get_stats() local
2992 return nstat; in gem_get_stats()
2996 nstat->rx_errors = (hwstat->rx_frame_check_sequence_errors + in gem_get_stats()
3004 nstat->tx_errors = (hwstat->tx_late_collisions + in gem_get_stats()
3008 nstat->multicast = hwstat->rx_multicast_frames; in gem_get_stats()
3009 nstat->collisions = (hwstat->tx_single_collision_frames + in gem_get_stats()
3012 nstat->rx_length_errors = (hwstat->rx_oversize_frames + in gem_get_stats()
3016 nstat->rx_over_errors = hwstat->rx_resource_errors; in gem_get_stats()
3017 nstat->rx_crc_errors = hwstat->rx_frame_check_sequence_errors; in gem_get_stats()
3018 nstat->rx_frame_errors = hwstat->rx_alignment_errors; in gem_get_stats()
[all …]
/drivers/nvme/host/
Dcore.c1559 info->is_ready = id->nstat & NVME_NSTAT_NRDY; in nvme_ns_info_from_id_cs_indep()