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 BUILD_BUG_ON(sizeof(estats->shared) != sizeof(pstats->mac_stx[1])); in bnx2x_hw_stats_update()
853 memcpy(&(estats->shared), &(pstats->mac_stx[1]), in bnx2x_hw_stats_update()
855 estats->brb_drop_hi = pstats->brb_drop_hi; in bnx2x_hw_stats_update()
856 estats->brb_drop_lo = pstats->brb_drop_lo; in bnx2x_hw_stats_update()
863 estats->eee_tx_lpi += REG_RD(bp, lpi_reg); in bnx2x_hw_stats_update()
869 if (nig_timer_max != estats->nig_timer_max) { in bnx2x_hw_stats_update()
870 estats->nig_timer_max = nig_timer_max; in bnx2x_hw_stats_update()
872 estats->nig_timer_max); in bnx2x_hw_stats_update()
926 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_storm_stats_update() local
934 estats->error_bytes_received_hi = 0; in bnx2x_storm_stats_update()
935 estats->error_bytes_received_lo = 0; in bnx2x_storm_stats_update()
1080 ADD_64(estats->total_bytes_received_hi, in bnx2x_storm_stats_update()
1081 estats->rx_stat_ifhcinbadoctets_hi, in bnx2x_storm_stats_update()
1082 estats->total_bytes_received_lo, in bnx2x_storm_stats_update()
1083 estats->rx_stat_ifhcinbadoctets_lo); in bnx2x_storm_stats_update()
1085 ADD_64_LE(estats->total_bytes_received_hi, in bnx2x_storm_stats_update()
1087 estats->total_bytes_received_lo, in bnx2x_storm_stats_update()
1090 ADD_64_LE(estats->error_bytes_received_hi, in bnx2x_storm_stats_update()
1092 estats->error_bytes_received_lo, in bnx2x_storm_stats_update()
1097 ADD_64(estats->error_bytes_received_hi, in bnx2x_storm_stats_update()
1098 estats->rx_stat_ifhcinbadoctets_hi, in bnx2x_storm_stats_update()
1099 estats->error_bytes_received_lo, in bnx2x_storm_stats_update()
1100 estats->rx_stat_ifhcinbadoctets_lo); in bnx2x_storm_stats_update()
1119 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_net_stats_update() local
1125 bnx2x_hilo(&estats->total_unicast_packets_received_hi) + in bnx2x_net_stats_update()
1126 bnx2x_hilo(&estats->total_multicast_packets_received_hi) + in bnx2x_net_stats_update()
1127 bnx2x_hilo(&estats->total_broadcast_packets_received_hi); in bnx2x_net_stats_update()
1130 bnx2x_hilo(&estats->total_unicast_packets_transmitted_hi) + in bnx2x_net_stats_update()
1131 bnx2x_hilo(&estats->total_multicast_packets_transmitted_hi) + in bnx2x_net_stats_update()
1132 bnx2x_hilo(&estats->total_broadcast_packets_transmitted_hi); in bnx2x_net_stats_update()
1134 nstats->rx_bytes = bnx2x_hilo(&estats->total_bytes_received_hi); in bnx2x_net_stats_update()
1136 nstats->tx_bytes = bnx2x_hilo(&estats->total_bytes_transmitted_hi); in bnx2x_net_stats_update()
1138 tmp = estats->mac_discard; in bnx2x_net_stats_update()
1149 bnx2x_hilo(&estats->total_multicast_packets_received_hi); in bnx2x_net_stats_update()
1152 bnx2x_hilo(&estats->tx_stat_etherstatscollisions_hi); in bnx2x_net_stats_update()
1155 bnx2x_hilo(&estats->rx_stat_etherstatsundersizepkts_hi) + in bnx2x_net_stats_update()
1156 bnx2x_hilo(&estats->etherstatsoverrsizepkts_hi); in bnx2x_net_stats_update()
1157 nstats->rx_over_errors = bnx2x_hilo(&estats->brb_drop_hi) + in bnx2x_net_stats_update()
1158 bnx2x_hilo(&estats->brb_truncate_hi); in bnx2x_net_stats_update()
1160 bnx2x_hilo(&estats->rx_stat_dot3statsfcserrors_hi); in bnx2x_net_stats_update()
1162 bnx2x_hilo(&estats->rx_stat_dot3statsalignmenterrors_hi); in bnx2x_net_stats_update()
1163 nstats->rx_fifo_errors = bnx2x_hilo(&estats->no_buff_discard_hi); in bnx2x_net_stats_update()
1174 bnx2x_hilo(&estats->tx_stat_dot3statslatecollisions_hi) + in bnx2x_net_stats_update()
1175 bnx2x_hilo(&estats->tx_stat_dot3statsexcessivecollisions_hi); in bnx2x_net_stats_update()
1177 bnx2x_hilo(&estats->rx_stat_dot3statscarriersenseerrors_hi); in bnx2x_net_stats_update()
1184 bnx2x_hilo(&estats->tx_stat_dot3statsinternalmactransmiterrors_hi); in bnx2x_net_stats_update()
1189 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_drv_stats_update() local
1255 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_stats_update() local
1258 estats->brb_drop_lo, estats->brb_truncate_lo); in bnx2x_stats_update()
1694 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_save_statistics() local
1708 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_afex_collect_stats() local
1961 estats->mac_filter_discard); in bnx2x_afex_collect_stats()
1965 estats->brb_truncate_discard); in bnx2x_afex_collect_stats()
1969 estats->mac_discard); in bnx2x_afex_collect_stats()