Lines Matching refs:new_stats

891 	struct net_device_stats* new_stats = &lp->stats;  in amd8111e_get_stats()  local
898 new_stats->rx_packets = amd8111e_read_mib(mmio, rcv_broadcast_pkts)+ in amd8111e_get_stats()
903 new_stats->tx_packets = amd8111e_read_mib(mmio, xmt_packets); in amd8111e_get_stats()
906 new_stats->rx_bytes = amd8111e_read_mib(mmio, rcv_octets); in amd8111e_get_stats()
909 new_stats->tx_bytes = amd8111e_read_mib(mmio, xmt_octets); in amd8111e_get_stats()
913 new_stats->rx_errors = amd8111e_read_mib(mmio, rcv_undersize_pkts)+ in amd8111e_get_stats()
922 new_stats->tx_errors = amd8111e_read_mib(mmio, xmt_underrun_pkts); in amd8111e_get_stats()
925 new_stats->rx_dropped = amd8111e_read_mib(mmio, rcv_miss_pkts); in amd8111e_get_stats()
928 new_stats->tx_dropped = amd8111e_read_mib(mmio, xmt_underrun_pkts); in amd8111e_get_stats()
931 new_stats->multicast = amd8111e_read_mib(mmio, rcv_multicast_pkts); in amd8111e_get_stats()
934 new_stats->collisions = amd8111e_read_mib(mmio, xmt_collisions); in amd8111e_get_stats()
937 new_stats->rx_length_errors = in amd8111e_get_stats()
942 new_stats->rx_over_errors = amd8111e_read_mib(mmio, rcv_miss_pkts); in amd8111e_get_stats()
945 new_stats->rx_crc_errors = amd8111e_read_mib(mmio, rcv_fcs_errors); in amd8111e_get_stats()
948 new_stats->rx_frame_errors = in amd8111e_get_stats()
952 new_stats->rx_fifo_errors = amd8111e_read_mib(mmio, rcv_miss_pkts); in amd8111e_get_stats()
955 new_stats->rx_missed_errors = amd8111e_read_mib(mmio, rcv_miss_pkts); in amd8111e_get_stats()
958 new_stats->tx_aborted_errors = in amd8111e_get_stats()
962 new_stats->tx_carrier_errors = in amd8111e_get_stats()
966 new_stats->tx_fifo_errors = amd8111e_read_mib(mmio, xmt_underrun_pkts); in amd8111e_get_stats()
969 new_stats->tx_window_errors = in amd8111e_get_stats()
977 return new_stats; in amd8111e_get_stats()