Lines Matching refs:estats
554 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_bmac_stats_update() local
637 estats->pause_frames_received_hi = in bnx2x_bmac_stats_update()
639 estats->pause_frames_received_lo = in bnx2x_bmac_stats_update()
642 estats->pause_frames_sent_hi = in bnx2x_bmac_stats_update()
644 estats->pause_frames_sent_lo = in bnx2x_bmac_stats_update()
647 estats->pfc_frames_received_hi = in bnx2x_bmac_stats_update()
649 estats->pfc_frames_received_lo = in bnx2x_bmac_stats_update()
651 estats->pfc_frames_sent_hi = in bnx2x_bmac_stats_update()
653 estats->pfc_frames_sent_lo = in bnx2x_bmac_stats_update()
660 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_mstat_stats_update() local
702 estats->etherstatspkts1024octetsto1522octets_hi = in bnx2x_mstat_stats_update()
704 estats->etherstatspkts1024octetsto1522octets_lo = in bnx2x_mstat_stats_update()
707 estats->etherstatspktsover1522octets_hi = in bnx2x_mstat_stats_update()
709 estats->etherstatspktsover1522octets_lo = in bnx2x_mstat_stats_update()
712 ADD_64(estats->etherstatspktsover1522octets_hi, in bnx2x_mstat_stats_update()
714 estats->etherstatspktsover1522octets_lo, in bnx2x_mstat_stats_update()
717 ADD_64(estats->etherstatspktsover1522octets_hi, in bnx2x_mstat_stats_update()
719 estats->etherstatspktsover1522octets_lo, in bnx2x_mstat_stats_update()
722 ADD_64(estats->etherstatspktsover1522octets_hi, in bnx2x_mstat_stats_update()
724 estats->etherstatspktsover1522octets_lo, in bnx2x_mstat_stats_update()
727 estats->pause_frames_received_hi = in bnx2x_mstat_stats_update()
729 estats->pause_frames_received_lo = in bnx2x_mstat_stats_update()
732 estats->pause_frames_sent_hi = in bnx2x_mstat_stats_update()
734 estats->pause_frames_sent_lo = in bnx2x_mstat_stats_update()
737 estats->pfc_frames_received_hi = in bnx2x_mstat_stats_update()
739 estats->pfc_frames_received_lo = in bnx2x_mstat_stats_update()
741 estats->pfc_frames_sent_hi = in bnx2x_mstat_stats_update()
743 estats->pfc_frames_sent_lo = in bnx2x_mstat_stats_update()
751 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_emac_stats_update() local
785 estats->pause_frames_received_hi = in bnx2x_emac_stats_update()
787 estats->pause_frames_received_lo = in bnx2x_emac_stats_update()
789 ADD_64(estats->pause_frames_received_hi, in bnx2x_emac_stats_update()
791 estats->pause_frames_received_lo, in bnx2x_emac_stats_update()
794 estats->pause_frames_sent_hi = in bnx2x_emac_stats_update()
796 estats->pause_frames_sent_lo = in bnx2x_emac_stats_update()
798 ADD_64(estats->pause_frames_sent_hi, in bnx2x_emac_stats_update()
800 estats->pause_frames_sent_lo, in bnx2x_emac_stats_update()
809 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_hw_stats_update() local
840 ADD_EXTEND_64(estats->brb_truncate_hi, estats->brb_truncate_lo, in bnx2x_hw_stats_update()
852 memcpy(&(estats->rx_stat_ifhcinbadoctets_hi), &(pstats->mac_stx[1]), in bnx2x_hw_stats_update()
854 estats->brb_drop_hi = pstats->brb_drop_hi; in bnx2x_hw_stats_update()
855 estats->brb_drop_lo = pstats->brb_drop_lo; in bnx2x_hw_stats_update()
862 estats->eee_tx_lpi += REG_RD(bp, lpi_reg); in bnx2x_hw_stats_update()
868 if (nig_timer_max != estats->nig_timer_max) { in bnx2x_hw_stats_update()
869 estats->nig_timer_max = nig_timer_max; in bnx2x_hw_stats_update()
871 estats->nig_timer_max); in bnx2x_hw_stats_update()
925 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_storm_stats_update() local
933 estats->error_bytes_received_hi = 0; in bnx2x_storm_stats_update()
934 estats->error_bytes_received_lo = 0; in bnx2x_storm_stats_update()
1079 ADD_64(estats->total_bytes_received_hi, in bnx2x_storm_stats_update()
1080 estats->rx_stat_ifhcinbadoctets_hi, in bnx2x_storm_stats_update()
1081 estats->total_bytes_received_lo, in bnx2x_storm_stats_update()
1082 estats->rx_stat_ifhcinbadoctets_lo); in bnx2x_storm_stats_update()
1084 ADD_64_LE(estats->total_bytes_received_hi, in bnx2x_storm_stats_update()
1086 estats->total_bytes_received_lo, in bnx2x_storm_stats_update()
1089 ADD_64_LE(estats->error_bytes_received_hi, in bnx2x_storm_stats_update()
1091 estats->error_bytes_received_lo, in bnx2x_storm_stats_update()
1096 ADD_64(estats->error_bytes_received_hi, in bnx2x_storm_stats_update()
1097 estats->rx_stat_ifhcinbadoctets_hi, in bnx2x_storm_stats_update()
1098 estats->error_bytes_received_lo, in bnx2x_storm_stats_update()
1099 estats->rx_stat_ifhcinbadoctets_lo); in bnx2x_storm_stats_update()
1118 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_net_stats_update() local
1124 bnx2x_hilo(&estats->total_unicast_packets_received_hi) + in bnx2x_net_stats_update()
1125 bnx2x_hilo(&estats->total_multicast_packets_received_hi) + in bnx2x_net_stats_update()
1126 bnx2x_hilo(&estats->total_broadcast_packets_received_hi); in bnx2x_net_stats_update()
1129 bnx2x_hilo(&estats->total_unicast_packets_transmitted_hi) + in bnx2x_net_stats_update()
1130 bnx2x_hilo(&estats->total_multicast_packets_transmitted_hi) + in bnx2x_net_stats_update()
1131 bnx2x_hilo(&estats->total_broadcast_packets_transmitted_hi); in bnx2x_net_stats_update()
1133 nstats->rx_bytes = bnx2x_hilo(&estats->total_bytes_received_hi); in bnx2x_net_stats_update()
1135 nstats->tx_bytes = bnx2x_hilo(&estats->total_bytes_transmitted_hi); in bnx2x_net_stats_update()
1137 tmp = estats->mac_discard; in bnx2x_net_stats_update()
1148 bnx2x_hilo(&estats->total_multicast_packets_received_hi); in bnx2x_net_stats_update()
1151 bnx2x_hilo(&estats->tx_stat_etherstatscollisions_hi); in bnx2x_net_stats_update()
1154 bnx2x_hilo(&estats->rx_stat_etherstatsundersizepkts_hi) + in bnx2x_net_stats_update()
1155 bnx2x_hilo(&estats->etherstatsoverrsizepkts_hi); in bnx2x_net_stats_update()
1156 nstats->rx_over_errors = bnx2x_hilo(&estats->brb_drop_hi) + in bnx2x_net_stats_update()
1157 bnx2x_hilo(&estats->brb_truncate_hi); in bnx2x_net_stats_update()
1159 bnx2x_hilo(&estats->rx_stat_dot3statsfcserrors_hi); in bnx2x_net_stats_update()
1161 bnx2x_hilo(&estats->rx_stat_dot3statsalignmenterrors_hi); in bnx2x_net_stats_update()
1162 nstats->rx_fifo_errors = bnx2x_hilo(&estats->no_buff_discard_hi); in bnx2x_net_stats_update()
1173 bnx2x_hilo(&estats->tx_stat_dot3statslatecollisions_hi) + in bnx2x_net_stats_update()
1174 bnx2x_hilo(&estats->tx_stat_dot3statsexcessivecollisions_hi); in bnx2x_net_stats_update()
1176 bnx2x_hilo(&estats->rx_stat_dot3statscarriersenseerrors_hi); in bnx2x_net_stats_update()
1183 bnx2x_hilo(&estats->tx_stat_dot3statsinternalmactransmiterrors_hi); in bnx2x_net_stats_update()
1188 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_drv_stats_update() local
1254 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_stats_update() local
1257 estats->brb_drop_lo, estats->brb_truncate_lo); in bnx2x_stats_update()
1693 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_save_statistics() local
1707 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_afex_collect_stats() local
1960 estats->mac_filter_discard); in bnx2x_afex_collect_stats()
1964 estats->brb_truncate_discard); in bnx2x_afex_collect_stats()
1968 estats->mac_discard); in bnx2x_afex_collect_stats()