net_stats 120 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c struct net_device_stats *net_stats = &dev->stats; net_stats 121 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c u8 *p = (u8 *)net_stats; net_stats 488 drivers/net/can/usb/ucan.c struct net_device_stats *net_stats = &up->netdev->stats; net_stats 498 drivers/net/can/usb/ucan.c net_stats->tx_errors++; net_stats 508 drivers/net/can/usb/ucan.c net_stats->rx_over_errors++; net_stats 526 drivers/net/can/usb/ucan.c net_stats->tx_errors++; net_stats 528 drivers/net/can/usb/ucan.c net_stats->rx_errors++; net_stats 1627 drivers/net/ethernet/atheros/alx/main.c struct rtnl_link_stats64 *net_stats) net_stats 1636 drivers/net/ethernet/atheros/alx/main.c net_stats->tx_bytes = hw_stats->tx_byte_cnt; net_stats 1637 drivers/net/ethernet/atheros/alx/main.c net_stats->rx_bytes = hw_stats->rx_byte_cnt; net_stats 1638 drivers/net/ethernet/atheros/alx/main.c net_stats->multicast = hw_stats->rx_mcast; net_stats 1639 drivers/net/ethernet/atheros/alx/main.c net_stats->collisions = hw_stats->tx_single_col + net_stats 1644 drivers/net/ethernet/atheros/alx/main.c net_stats->rx_errors = hw_stats->rx_frag + net_stats 1652 drivers/net/ethernet/atheros/alx/main.c net_stats->rx_fifo_errors = hw_stats->rx_ov_rxf; net_stats 1653 drivers/net/ethernet/atheros/alx/main.c net_stats->rx_length_errors = hw_stats->rx_len_err; net_stats 1654 drivers/net/ethernet/atheros/alx/main.c net_stats->rx_crc_errors = hw_stats->rx_fcs_err; net_stats 1655 drivers/net/ethernet/atheros/alx/main.c net_stats->rx_frame_errors = hw_stats->rx_align_err; net_stats 1656 drivers/net/ethernet/atheros/alx/main.c net_stats->rx_dropped = hw_stats->rx_ov_rrd; net_stats 1658 drivers/net/ethernet/atheros/alx/main.c net_stats->tx_errors = hw_stats->tx_late_col + net_stats 1663 drivers/net/ethernet/atheros/alx/main.c net_stats->tx_aborted_errors = hw_stats->tx_abort_col; net_stats 1664 drivers/net/ethernet/atheros/alx/main.c net_stats->tx_fifo_errors = hw_stats->tx_underrun; net_stats 1665 drivers/net/ethernet/atheros/alx/main.c net_stats->tx_window_errors = hw_stats->tx_late_col; net_stats 1667 drivers/net/ethernet/atheros/alx/main.c net_stats->tx_packets = hw_stats->tx_ok + net_stats->tx_errors; net_stats 1668 drivers/net/ethernet/atheros/alx/main.c net_stats->rx_packets = hw_stats->rx_ok + net_stats->rx_errors; net_stats 1487 drivers/net/ethernet/atheros/atl1c/atl1c_main.c struct net_device_stats *net_stats = &netdev->stats; net_stats 1490 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->rx_bytes = hw_stats->rx_byte_cnt; net_stats 1491 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->tx_bytes = hw_stats->tx_byte_cnt; net_stats 1492 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->multicast = hw_stats->rx_mcast; net_stats 1493 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->collisions = hw_stats->tx_1_col + net_stats 1498 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->rx_errors = hw_stats->rx_frag + net_stats 1506 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->rx_fifo_errors = hw_stats->rx_rxf_ov; net_stats 1507 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->rx_length_errors = hw_stats->rx_len_err; net_stats 1508 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->rx_crc_errors = hw_stats->rx_fcs_err; net_stats 1509 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->rx_frame_errors = hw_stats->rx_align_err; net_stats 1510 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->rx_dropped = hw_stats->rx_rrd_ov; net_stats 1512 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->tx_errors = hw_stats->tx_late_col + net_stats 1517 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->tx_fifo_errors = hw_stats->tx_underrun; net_stats 1518 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->tx_aborted_errors = hw_stats->tx_abort_col; net_stats 1519 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->tx_window_errors = hw_stats->tx_late_col; net_stats 1521 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->rx_packets = hw_stats->rx_ok + net_stats->rx_errors; net_stats 1522 drivers/net/ethernet/atheros/atl1c/atl1c_main.c net_stats->tx_packets = hw_stats->tx_ok + net_stats->tx_errors; net_stats 1524 drivers/net/ethernet/atheros/atl1c/atl1c_main.c return net_stats; net_stats 1158 drivers/net/ethernet/atheros/atl1e/atl1e_main.c struct net_device_stats *net_stats = &netdev->stats; net_stats 1160 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->rx_bytes = hw_stats->rx_byte_cnt; net_stats 1161 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->tx_bytes = hw_stats->tx_byte_cnt; net_stats 1162 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->multicast = hw_stats->rx_mcast; net_stats 1163 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->collisions = hw_stats->tx_1_col + net_stats 1168 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->rx_errors = hw_stats->rx_frag + net_stats 1176 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->rx_fifo_errors = hw_stats->rx_rxf_ov; net_stats 1177 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->rx_length_errors = hw_stats->rx_len_err; net_stats 1178 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->rx_crc_errors = hw_stats->rx_fcs_err; net_stats 1179 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->rx_frame_errors = hw_stats->rx_align_err; net_stats 1180 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->rx_dropped = hw_stats->rx_rrd_ov; net_stats 1182 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->tx_errors = hw_stats->tx_late_col + net_stats 1187 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->tx_fifo_errors = hw_stats->tx_underrun; net_stats 1188 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->tx_aborted_errors = hw_stats->tx_abort_col; net_stats 1189 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->tx_window_errors = hw_stats->tx_late_col; net_stats 1191 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->rx_packets = hw_stats->rx_ok + net_stats->rx_errors; net_stats 1192 drivers/net/ethernet/atheros/atl1e/atl1e_main.c net_stats->tx_packets = hw_stats->tx_ok + net_stats->tx_errors; net_stats 1194 drivers/net/ethernet/atheros/atl1e/atl1e_main.c return net_stats; net_stats 6822 drivers/net/ethernet/broadcom/bnx2.c bnx2_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *net_stats) net_stats 6829 drivers/net/ethernet/broadcom/bnx2.c net_stats->rx_packets = net_stats 6834 drivers/net/ethernet/broadcom/bnx2.c net_stats->tx_packets = net_stats 6839 drivers/net/ethernet/broadcom/bnx2.c net_stats->rx_bytes = net_stats 6842 drivers/net/ethernet/broadcom/bnx2.c net_stats->tx_bytes = net_stats 6845 drivers/net/ethernet/broadcom/bnx2.c net_stats->multicast = net_stats 6848 drivers/net/ethernet/broadcom/bnx2.c net_stats->collisions = net_stats 6851 drivers/net/ethernet/broadcom/bnx2.c net_stats->rx_length_errors = net_stats 6855 drivers/net/ethernet/broadcom/bnx2.c net_stats->rx_over_errors = net_stats 6859 drivers/net/ethernet/broadcom/bnx2.c net_stats->rx_frame_errors = net_stats 6862 drivers/net/ethernet/broadcom/bnx2.c net_stats->rx_crc_errors = net_stats 6865 drivers/net/ethernet/broadcom/bnx2.c net_stats->rx_errors = net_stats->rx_length_errors + net_stats 6866 drivers/net/ethernet/broadcom/bnx2.c net_stats->rx_over_errors + net_stats->rx_frame_errors + net_stats 6867 drivers/net/ethernet/broadcom/bnx2.c net_stats->rx_crc_errors; net_stats 6869 drivers/net/ethernet/broadcom/bnx2.c net_stats->tx_aborted_errors = net_stats 6875 drivers/net/ethernet/broadcom/bnx2.c net_stats->tx_carrier_errors = 0; net_stats 6877 drivers/net/ethernet/broadcom/bnx2.c net_stats->tx_carrier_errors = net_stats 6881 drivers/net/ethernet/broadcom/bnx2.c net_stats->tx_errors = net_stats 6883 drivers/net/ethernet/broadcom/bnx2.c net_stats->tx_aborted_errors + net_stats 6884 drivers/net/ethernet/broadcom/bnx2.c net_stats->tx_carrier_errors; net_stats 6886 drivers/net/ethernet/broadcom/bnx2.c net_stats->rx_missed_errors = net_stats 910 drivers/net/ethernet/cisco/enic/enic_main.c struct rtnl_link_stats64 *net_stats) net_stats 924 drivers/net/ethernet/cisco/enic/enic_main.c net_stats->tx_packets = stats->tx.tx_frames_ok; net_stats 925 drivers/net/ethernet/cisco/enic/enic_main.c net_stats->tx_bytes = stats->tx.tx_bytes_ok; net_stats 926 drivers/net/ethernet/cisco/enic/enic_main.c net_stats->tx_errors = stats->tx.tx_errors; net_stats 927 drivers/net/ethernet/cisco/enic/enic_main.c net_stats->tx_dropped = stats->tx.tx_drops; net_stats 929 drivers/net/ethernet/cisco/enic/enic_main.c net_stats->rx_packets = stats->rx.rx_frames_ok; net_stats 930 drivers/net/ethernet/cisco/enic/enic_main.c net_stats->rx_bytes = stats->rx.rx_bytes_ok; net_stats 931 drivers/net/ethernet/cisco/enic/enic_main.c net_stats->rx_errors = stats->rx.rx_errors; net_stats 932 drivers/net/ethernet/cisco/enic/enic_main.c net_stats->multicast = stats->rx.rx_multicast_frames_ok; net_stats 933 drivers/net/ethernet/cisco/enic/enic_main.c net_stats->rx_over_errors = enic->rq_truncated_pkts; net_stats 934 drivers/net/ethernet/cisco/enic/enic_main.c net_stats->rx_crc_errors = enic->rq_bad_fcs; net_stats 935 drivers/net/ethernet/cisco/enic/enic_main.c net_stats->rx_dropped = stats->rx.rx_no_bufs + stats->rx.rx_drop; net_stats 518 drivers/net/ethernet/hisilicon/hns/hnae.h struct net_device_stats *net_stats); net_stats 642 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct net_device_stats *net_stats) net_stats 708 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->tx_bytes = tx_bytes; net_stats 709 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->tx_packets = tx_packets; net_stats 710 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->rx_bytes = rx_bytes; net_stats 711 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->rx_dropped = 0; net_stats 712 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->rx_packets = rx_packets; net_stats 713 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->rx_errors = rx_errors; net_stats 714 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->tx_errors = tx_errors; net_stats 715 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->tx_dropped = tx_dropped; net_stats 716 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->rx_missed_errors = rx_missed_errors; net_stats 717 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->rx_crc_errors = mac_cb->hw_stats.rx_fcs_err; net_stats 718 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->rx_frame_errors = mac_cb->hw_stats.rx_align_err; net_stats 719 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->rx_fifo_errors = mac_cb->hw_stats.rx_fifo_overrun_err; net_stats 720 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->rx_length_errors = mac_cb->hw_stats.rx_len_err; net_stats 721 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c net_stats->multicast = mac_cb->hw_stats.rx_mc_pkts; net_stats 838 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c const struct rtnl_link_stats64 *net_stats; net_stats 848 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c net_stats = dev_get_stats(netdev, &temp); net_stats 851 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[0] = net_stats->rx_packets; net_stats 852 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[1] = net_stats->tx_packets; net_stats 853 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[2] = net_stats->rx_bytes; net_stats 854 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[3] = net_stats->tx_bytes; net_stats 855 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[4] = net_stats->rx_errors; net_stats 856 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[5] = net_stats->tx_errors; net_stats 857 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[6] = net_stats->rx_dropped; net_stats 858 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[7] = net_stats->tx_dropped; net_stats 859 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[8] = net_stats->multicast; net_stats 860 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[9] = net_stats->collisions; net_stats 861 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[10] = net_stats->rx_over_errors; net_stats 862 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[11] = net_stats->rx_crc_errors; net_stats 863 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[12] = net_stats->rx_frame_errors; net_stats 864 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[13] = net_stats->rx_fifo_errors; net_stats 865 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[14] = net_stats->rx_missed_errors; net_stats 866 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[15] = net_stats->tx_aborted_errors; net_stats 867 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[16] = net_stats->tx_carrier_errors; net_stats 868 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[17] = net_stats->tx_fifo_errors; net_stats 869 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[18] = net_stats->tx_heartbeat_errors; net_stats 870 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[19] = net_stats->rx_length_errors; net_stats 871 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[20] = net_stats->tx_window_errors; net_stats 872 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[21] = net_stats->rx_compressed; net_stats 873 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c p[22] = net_stats->tx_compressed; net_stats 443 drivers/net/ethernet/hisilicon/hns3/hnae3.h struct net_device_stats *net_stats); net_stats 694 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct net_device_stats *net_stats) net_stats 194 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct net_device_stats *net_stats) net_stats 2050 drivers/net/ethernet/intel/e1000e/ethtool.c struct rtnl_link_stats64 net_stats; net_stats 2056 drivers/net/ethernet/intel/e1000e/ethtool.c dev_get_stats(netdev, &net_stats); net_stats 2063 drivers/net/ethernet/intel/e1000e/ethtool.c p = (char *)&net_stats + net_stats 265 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct net_device_stats *net_stats = &netdev->stats; net_stats 270 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_add_ethtool_stats(&data, net_stats, fm10k_gstrings_net_stats); net_stats 539 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device_stats *net_stats = &interface->netdev->stats; net_stats 575 drivers/net/ethernet/intel/fm10k/fm10k_pci.c net_stats->tx_bytes = bytes; net_stats 576 drivers/net/ethernet/intel/fm10k/fm10k_pci.c net_stats->tx_packets = pkts; net_stats 600 drivers/net/ethernet/intel/fm10k/fm10k_pci.c net_stats->rx_bytes = bytes; net_stats 601 drivers/net/ethernet/intel/fm10k/fm10k_pci.c net_stats->rx_packets = pkts; net_stats 630 drivers/net/ethernet/intel/fm10k/fm10k_pci.c net_stats->rx_errors = rx_errors; net_stats 631 drivers/net/ethernet/intel/fm10k/fm10k_pci.c net_stats->rx_dropped = interface->stats.nodesc_drop.count; net_stats 750 drivers/net/ethernet/intel/i40e/i40e.h struct rtnl_link_stats64 net_stats; net_stats 403 drivers/net/ethernet/intel/i40e/i40e_main.c return &vsi->net_stats; net_stats 253 drivers/net/ethernet/intel/ice/ice.h struct rtnl_link_stats64 net_stats; net_stats 3617 drivers/net/ethernet/intel/ice/ice_main.c struct rtnl_link_stats64 *vsi_stats = &vsi->net_stats; net_stats 3667 drivers/net/ethernet/intel/ice/ice_main.c struct rtnl_link_stats64 *cur_ns = &vsi->net_stats; net_stats 3851 drivers/net/ethernet/intel/ice/ice_main.c vsi_stats = &vsi->net_stats; net_stats 2295 drivers/net/ethernet/intel/igb/igb_ethtool.c struct rtnl_link_stats64 *net_stats = &adapter->stats64; net_stats 2310 drivers/net/ethernet/intel/igb/igb_ethtool.c p = (char *)net_stats + igb_gstrings_net_stats[j].stat_offset; net_stats 6264 drivers/net/ethernet/intel/igb/igb_main.c struct rtnl_link_stats64 *net_stats = &adapter->stats64; net_stats 6293 drivers/net/ethernet/intel/igb/igb_main.c net_stats->rx_fifo_errors += rqdpc; net_stats 6305 drivers/net/ethernet/intel/igb/igb_main.c net_stats->rx_bytes = bytes; net_stats 6306 drivers/net/ethernet/intel/igb/igb_main.c net_stats->rx_packets = packets; net_stats 6320 drivers/net/ethernet/intel/igb/igb_main.c net_stats->tx_bytes = bytes; net_stats 6321 drivers/net/ethernet/intel/igb/igb_main.c net_stats->tx_packets = packets; net_stats 6344 drivers/net/ethernet/intel/igb/igb_main.c net_stats->rx_fifo_errors += mpc; net_stats 6406 drivers/net/ethernet/intel/igb/igb_main.c net_stats->multicast = adapter->stats.mprc; net_stats 6407 drivers/net/ethernet/intel/igb/igb_main.c net_stats->collisions = adapter->stats.colc; net_stats 6414 drivers/net/ethernet/intel/igb/igb_main.c net_stats->rx_errors = adapter->stats.rxerrc + net_stats 6418 drivers/net/ethernet/intel/igb/igb_main.c net_stats->rx_length_errors = adapter->stats.ruc + net_stats 6420 drivers/net/ethernet/intel/igb/igb_main.c net_stats->rx_crc_errors = adapter->stats.crcerrs; net_stats 6421 drivers/net/ethernet/intel/igb/igb_main.c net_stats->rx_frame_errors = adapter->stats.algnerrc; net_stats 6422 drivers/net/ethernet/intel/igb/igb_main.c net_stats->rx_missed_errors = adapter->stats.mpc; net_stats 6425 drivers/net/ethernet/intel/igb/igb_main.c net_stats->tx_errors = adapter->stats.ecol + net_stats 6427 drivers/net/ethernet/intel/igb/igb_main.c net_stats->tx_aborted_errors = adapter->stats.ecol; net_stats 6428 drivers/net/ethernet/intel/igb/igb_main.c net_stats->tx_window_errors = adapter->stats.latecol; net_stats 6429 drivers/net/ethernet/intel/igb/igb_main.c net_stats->tx_carrier_errors = adapter->stats.tncrs; net_stats 727 drivers/net/ethernet/intel/igc/igc_ethtool.c struct rtnl_link_stats64 *net_stats = &adapter->stats64; net_stats 742 drivers/net/ethernet/intel/igc/igc_ethtool.c p = (char *)net_stats + igc_gstrings_net_stats[j].stat_offset; net_stats 1904 drivers/net/ethernet/intel/igc/igc_main.c struct rtnl_link_stats64 *net_stats = &adapter->stats64; net_stats 1934 drivers/net/ethernet/intel/igc/igc_main.c net_stats->rx_fifo_errors += rqdpc; net_stats 1946 drivers/net/ethernet/intel/igc/igc_main.c net_stats->rx_bytes = bytes; net_stats 1947 drivers/net/ethernet/intel/igc/igc_main.c net_stats->rx_packets = packets; net_stats 1962 drivers/net/ethernet/intel/igc/igc_main.c net_stats->tx_bytes = bytes; net_stats 1963 drivers/net/ethernet/intel/igc/igc_main.c net_stats->tx_packets = packets; net_stats 1986 drivers/net/ethernet/intel/igc/igc_main.c net_stats->rx_fifo_errors += mpc; net_stats 2038 drivers/net/ethernet/intel/igc/igc_main.c net_stats->multicast = adapter->stats.mprc; net_stats 2039 drivers/net/ethernet/intel/igc/igc_main.c net_stats->collisions = adapter->stats.colc; net_stats 2046 drivers/net/ethernet/intel/igc/igc_main.c net_stats->rx_errors = adapter->stats.rxerrc + net_stats 2050 drivers/net/ethernet/intel/igc/igc_main.c net_stats->rx_length_errors = adapter->stats.ruc + net_stats 2052 drivers/net/ethernet/intel/igc/igc_main.c net_stats->rx_crc_errors = adapter->stats.crcerrs; net_stats 2053 drivers/net/ethernet/intel/igc/igc_main.c net_stats->rx_frame_errors = adapter->stats.algnerrc; net_stats 2054 drivers/net/ethernet/intel/igc/igc_main.c net_stats->rx_missed_errors = adapter->stats.mpc; net_stats 2057 drivers/net/ethernet/intel/igc/igc_main.c net_stats->tx_errors = adapter->stats.ecol + net_stats 2059 drivers/net/ethernet/intel/igc/igc_main.c net_stats->tx_aborted_errors = adapter->stats.ecol; net_stats 2060 drivers/net/ethernet/intel/igc/igc_main.c net_stats->tx_window_errors = adapter->stats.latecol; net_stats 2061 drivers/net/ethernet/intel/igc/igc_main.c net_stats->tx_carrier_errors = adapter->stats.tncrs; net_stats 1197 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c const struct rtnl_link_stats64 *net_stats; net_stats 1204 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c net_stats = dev_get_stats(netdev, &temp); net_stats 1208 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c p = (char *) net_stats + net_stats 426 drivers/net/ethernet/intel/ixgbevf/ethtool.c const struct rtnl_link_stats64 *net_stats; net_stats 433 drivers/net/ethernet/intel/ixgbevf/ethtool.c net_stats = dev_get_stats(netdev, &temp); net_stats 437 drivers/net/ethernet/intel/ixgbevf/ethtool.c p = (char *)net_stats + net_stats 3102 drivers/net/ethernet/neterion/vxge/vxge-main.c vxge_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *net_stats) net_stats 3122 drivers/net/ethernet/neterion/vxge/vxge-main.c net_stats->rx_packets += packets; net_stats 3123 drivers/net/ethernet/neterion/vxge/vxge-main.c net_stats->rx_bytes += bytes; net_stats 3124 drivers/net/ethernet/neterion/vxge/vxge-main.c net_stats->multicast += multicast; net_stats 3126 drivers/net/ethernet/neterion/vxge/vxge-main.c net_stats->rx_errors += rxstats->rx_errors; net_stats 3127 drivers/net/ethernet/neterion/vxge/vxge-main.c net_stats->rx_dropped += rxstats->rx_dropped; net_stats 3136 drivers/net/ethernet/neterion/vxge/vxge-main.c net_stats->tx_packets += packets; net_stats 3137 drivers/net/ethernet/neterion/vxge/vxge-main.c net_stats->tx_bytes += bytes; net_stats 3138 drivers/net/ethernet/neterion/vxge/vxge-main.c net_stats->tx_errors += txstats->tx_errors; net_stats 346 drivers/net/ethernet/qualcomm/emac/emac.c struct rtnl_link_stats64 *net_stats) net_stats 356 drivers/net/ethernet/qualcomm/emac/emac.c net_stats->rx_packets = stats->rx_ok; net_stats 357 drivers/net/ethernet/qualcomm/emac/emac.c net_stats->tx_packets = stats->tx_ok; net_stats 358 drivers/net/ethernet/qualcomm/emac/emac.c net_stats->rx_bytes = stats->rx_byte_cnt; net_stats 359 drivers/net/ethernet/qualcomm/emac/emac.c net_stats->tx_bytes = stats->tx_byte_cnt; net_stats 360 drivers/net/ethernet/qualcomm/emac/emac.c net_stats->multicast = stats->rx_mcast; net_stats 361 drivers/net/ethernet/qualcomm/emac/emac.c net_stats->collisions = stats->tx_1_col + stats->tx_2_col * 2 + net_stats 364 drivers/net/ethernet/qualcomm/emac/emac.c net_stats->rx_errors = stats->rx_frag + stats->rx_fcs_err + net_stats 367 drivers/net/ethernet/qualcomm/emac/emac.c net_stats->rx_fifo_errors = stats->rx_rxf_ov; net_stats 368 drivers/net/ethernet/qualcomm/emac/emac.c net_stats->rx_length_errors = stats->rx_len_err; net_stats 369 drivers/net/ethernet/qualcomm/emac/emac.c net_stats->rx_crc_errors = stats->rx_fcs_err; net_stats 370 drivers/net/ethernet/qualcomm/emac/emac.c net_stats->rx_frame_errors = stats->rx_align_err; net_stats 371 drivers/net/ethernet/qualcomm/emac/emac.c net_stats->rx_over_errors = stats->rx_rxf_ov; net_stats 372 drivers/net/ethernet/qualcomm/emac/emac.c net_stats->rx_missed_errors = stats->rx_rxf_ov; net_stats 374 drivers/net/ethernet/qualcomm/emac/emac.c net_stats->tx_errors = stats->tx_late_col + stats->tx_abort_col + net_stats 376 drivers/net/ethernet/qualcomm/emac/emac.c net_stats->tx_fifo_errors = stats->tx_underrun; net_stats 377 drivers/net/ethernet/qualcomm/emac/emac.c net_stats->tx_aborted_errors = stats->tx_abort_col; net_stats 378 drivers/net/ethernet/qualcomm/emac/emac.c net_stats->tx_window_errors = stats->tx_late_col; net_stats 1127 drivers/net/ethernet/sun/cassini.c cp->net_stats[0].tx_fifo_errors++; net_stats 1132 drivers/net/ethernet/sun/cassini.c cp->net_stats[0].tx_errors++; net_stats 1139 drivers/net/ethernet/sun/cassini.c cp->net_stats[0].collisions += 0x10000; net_stats 1142 drivers/net/ethernet/sun/cassini.c cp->net_stats[0].tx_aborted_errors += 0x10000; net_stats 1143 drivers/net/ethernet/sun/cassini.c cp->net_stats[0].collisions += 0x10000; net_stats 1147 drivers/net/ethernet/sun/cassini.c cp->net_stats[0].tx_aborted_errors += 0x10000; net_stats 1148 drivers/net/ethernet/sun/cassini.c cp->net_stats[0].collisions += 0x10000; net_stats 1519 drivers/net/ethernet/sun/cassini.c cp->net_stats[0].rx_frame_errors += 0x10000; net_stats 1522 drivers/net/ethernet/sun/cassini.c cp->net_stats[0].rx_crc_errors += 0x10000; net_stats 1525 drivers/net/ethernet/sun/cassini.c cp->net_stats[0].rx_length_errors += 0x10000; net_stats 1528 drivers/net/ethernet/sun/cassini.c cp->net_stats[0].rx_over_errors++; net_stats 1529 drivers/net/ethernet/sun/cassini.c cp->net_stats[0].rx_fifo_errors++; net_stats 1766 drivers/net/ethernet/sun/cassini.c cp->net_stats[0].rx_errors++; net_stats 1776 drivers/net/ethernet/sun/cassini.c cp->net_stats[0].rx_errors++; net_stats 1898 drivers/net/ethernet/sun/cassini.c cp->net_stats[ring].tx_packets++; net_stats 1899 drivers/net/ethernet/sun/cassini.c cp->net_stats[ring].tx_bytes += skb->len; net_stats 2317 drivers/net/ethernet/sun/cassini.c cp->net_stats[ring].rx_errors++; net_stats 2319 drivers/net/ethernet/sun/cassini.c cp->net_stats[ring].rx_length_errors++; net_stats 2321 drivers/net/ethernet/sun/cassini.c cp->net_stats[ring].rx_crc_errors++; net_stats 2327 drivers/net/ethernet/sun/cassini.c ++cp->net_stats[ring].rx_dropped; net_stats 2349 drivers/net/ethernet/sun/cassini.c cp->net_stats[ring].rx_packets++; net_stats 2350 drivers/net/ethernet/sun/cassini.c cp->net_stats[ring].rx_bytes += len; net_stats 2473 drivers/net/ethernet/sun/cassini.c cp->net_stats[1].rx_dropped++; net_stats 2527 drivers/net/ethernet/sun/cassini.c cp->net_stats[0].rx_dropped++; net_stats 4405 drivers/net/ethernet/sun/cassini.c struct net_device_stats *stats = cp->net_stats; net_stats 2781 drivers/net/ethernet/sun/cassini.h struct net_device_stats net_stats[N_TX_RINGS + 1]; net_stats 254 drivers/net/fjes/fjes_hw.h struct rtnl_link_stats64 net_stats; net_stats 674 drivers/net/fjes/fjes_main.c hw->ep_shm_info[my_epid].net_stats.tx_packets += 1; net_stats 676 drivers/net/fjes/fjes_main.c hw->ep_shm_info[my_epid].net_stats.tx_bytes += len; net_stats 684 drivers/net/fjes/fjes_main.c hw->ep_shm_info[my_epid].net_stats.tx_packets += 1; net_stats 686 drivers/net/fjes/fjes_main.c hw->ep_shm_info[my_epid].net_stats.tx_bytes += len; net_stats 703 drivers/net/fjes/fjes_main.c hw->ep_shm_info[dest_epid].net_stats net_stats 713 drivers/net/fjes/fjes_main.c hw->ep_shm_info[dest_epid].net_stats.tx_dropped += 1; net_stats 715 drivers/net/fjes/fjes_main.c hw->ep_shm_info[dest_epid].net_stats.tx_errors += 1; net_stats 750 drivers/net/fjes/fjes_main.c hw->ep_shm_info[dest_epid].net_stats net_stats 753 drivers/net/fjes/fjes_main.c hw->ep_shm_info[dest_epid].net_stats net_stats 772 drivers/net/fjes/fjes_main.c hw->ep_shm_info[dest_epid].net_stats net_stats 775 drivers/net/fjes/fjes_main.c hw->ep_shm_info[dest_epid].net_stats net_stats 789 drivers/net/fjes/fjes_main.c hw->ep_shm_info[my_epid].net_stats.tx_packets += 1; net_stats 791 drivers/net/fjes/fjes_main.c hw->ep_shm_info[my_epid].net_stats.tx_bytes += len; net_stats 1141 drivers/net/fjes/fjes_main.c hw->ep_shm_info[cur_epid].net_stats net_stats 1144 drivers/net/fjes/fjes_main.c hw->ep_shm_info[cur_epid].net_stats net_stats 1156 drivers/net/fjes/fjes_main.c hw->ep_shm_info[cur_epid].net_stats net_stats 1159 drivers/net/fjes/fjes_main.c hw->ep_shm_info[cur_epid].net_stats net_stats 1165 drivers/net/fjes/fjes_main.c hw->ep_shm_info[cur_epid].net_stats net_stats 1889 drivers/net/wireless/intel/ipw2x00/ipw2200.c static DEVICE_ATTR(net_stats, 0644, show_net_stats, store_net_stats); net_stats 135 drivers/staging/unisys/visornic/visornic_main.c struct net_device_stats net_stats; net_stats 990 drivers/staging/unisys/visornic/visornic_main.c devdata->net_stats.tx_packets++; net_stats 991 drivers/staging/unisys/visornic/visornic_main.c devdata->net_stats.tx_bytes += skb->len; net_stats 1020 drivers/staging/unisys/visornic/visornic_main.c return &devdata->net_stats; net_stats 1221 drivers/staging/unisys/visornic/visornic_main.c devdata->net_stats.rx_packets++; net_stats 1222 drivers/staging/unisys/visornic/visornic_main.c devdata->net_stats.rx_bytes += skb->len;