Lines Matching refs:nstats
1118 struct net_device_stats *nstats = &bp->dev->stats; in bnx2x_net_stats_update() local
1122 nstats->rx_packets = in bnx2x_net_stats_update()
1127 nstats->tx_packets = in bnx2x_net_stats_update()
1132 nstats->rx_bytes = bnx2x_hilo(&estats->total_bytes_received_hi); in bnx2x_net_stats_update()
1134 nstats->tx_bytes = bnx2x_hilo(&estats->total_bytes_transmitted_hi); in bnx2x_net_stats_update()
1142 nstats->rx_dropped = tmp + bp->net_stats_old.rx_dropped; in bnx2x_net_stats_update()
1144 nstats->tx_dropped = 0; in bnx2x_net_stats_update()
1146 nstats->multicast = in bnx2x_net_stats_update()
1149 nstats->collisions = in bnx2x_net_stats_update()
1152 nstats->rx_length_errors = in bnx2x_net_stats_update()
1155 nstats->rx_over_errors = bnx2x_hilo(&estats->brb_drop_hi) + in bnx2x_net_stats_update()
1157 nstats->rx_crc_errors = in bnx2x_net_stats_update()
1159 nstats->rx_frame_errors = in bnx2x_net_stats_update()
1161 nstats->rx_fifo_errors = bnx2x_hilo(&estats->no_buff_discard_hi); in bnx2x_net_stats_update()
1162 nstats->rx_missed_errors = 0; in bnx2x_net_stats_update()
1164 nstats->rx_errors = nstats->rx_length_errors + in bnx2x_net_stats_update()
1165 nstats->rx_over_errors + in bnx2x_net_stats_update()
1166 nstats->rx_crc_errors + in bnx2x_net_stats_update()
1167 nstats->rx_frame_errors + in bnx2x_net_stats_update()
1168 nstats->rx_fifo_errors + in bnx2x_net_stats_update()
1169 nstats->rx_missed_errors; in bnx2x_net_stats_update()
1171 nstats->tx_aborted_errors = in bnx2x_net_stats_update()
1174 nstats->tx_carrier_errors = in bnx2x_net_stats_update()
1176 nstats->tx_fifo_errors = 0; in bnx2x_net_stats_update()
1177 nstats->tx_heartbeat_errors = 0; in bnx2x_net_stats_update()
1178 nstats->tx_window_errors = 0; in bnx2x_net_stats_update()
1180 nstats->tx_errors = nstats->tx_aborted_errors + in bnx2x_net_stats_update()
1181 nstats->tx_carrier_errors + in bnx2x_net_stats_update()
1661 struct net_device_stats *nstats = &bp->dev->stats; in bnx2x_save_statistics() local
1688 bp->net_stats_old.rx_dropped = nstats->rx_dropped; in bnx2x_save_statistics()