Lines Matching refs:estats
552 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_bmac_stats_update() local
635 estats->pause_frames_received_hi = in bnx2x_bmac_stats_update()
637 estats->pause_frames_received_lo = in bnx2x_bmac_stats_update()
640 estats->pause_frames_sent_hi = in bnx2x_bmac_stats_update()
642 estats->pause_frames_sent_lo = in bnx2x_bmac_stats_update()
645 estats->pfc_frames_received_hi = in bnx2x_bmac_stats_update()
647 estats->pfc_frames_received_lo = in bnx2x_bmac_stats_update()
649 estats->pfc_frames_sent_hi = in bnx2x_bmac_stats_update()
651 estats->pfc_frames_sent_lo = in bnx2x_bmac_stats_update()
658 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_mstat_stats_update() local
700 estats->etherstatspkts1024octetsto1522octets_hi = in bnx2x_mstat_stats_update()
702 estats->etherstatspkts1024octetsto1522octets_lo = in bnx2x_mstat_stats_update()
705 estats->etherstatspktsover1522octets_hi = in bnx2x_mstat_stats_update()
707 estats->etherstatspktsover1522octets_lo = in bnx2x_mstat_stats_update()
710 ADD_64(estats->etherstatspktsover1522octets_hi, in bnx2x_mstat_stats_update()
712 estats->etherstatspktsover1522octets_lo, in bnx2x_mstat_stats_update()
715 ADD_64(estats->etherstatspktsover1522octets_hi, in bnx2x_mstat_stats_update()
717 estats->etherstatspktsover1522octets_lo, in bnx2x_mstat_stats_update()
720 ADD_64(estats->etherstatspktsover1522octets_hi, in bnx2x_mstat_stats_update()
722 estats->etherstatspktsover1522octets_lo, in bnx2x_mstat_stats_update()
725 estats->pause_frames_received_hi = in bnx2x_mstat_stats_update()
727 estats->pause_frames_received_lo = in bnx2x_mstat_stats_update()
730 estats->pause_frames_sent_hi = in bnx2x_mstat_stats_update()
732 estats->pause_frames_sent_lo = in bnx2x_mstat_stats_update()
735 estats->pfc_frames_received_hi = in bnx2x_mstat_stats_update()
737 estats->pfc_frames_received_lo = in bnx2x_mstat_stats_update()
739 estats->pfc_frames_sent_hi = in bnx2x_mstat_stats_update()
741 estats->pfc_frames_sent_lo = in bnx2x_mstat_stats_update()
749 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_emac_stats_update() local
783 estats->pause_frames_received_hi = in bnx2x_emac_stats_update()
785 estats->pause_frames_received_lo = in bnx2x_emac_stats_update()
787 ADD_64(estats->pause_frames_received_hi, in bnx2x_emac_stats_update()
789 estats->pause_frames_received_lo, in bnx2x_emac_stats_update()
792 estats->pause_frames_sent_hi = in bnx2x_emac_stats_update()
794 estats->pause_frames_sent_lo = in bnx2x_emac_stats_update()
796 ADD_64(estats->pause_frames_sent_hi, in bnx2x_emac_stats_update()
798 estats->pause_frames_sent_lo, in bnx2x_emac_stats_update()
807 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_hw_stats_update() local
838 ADD_EXTEND_64(estats->brb_truncate_hi, estats->brb_truncate_lo, in bnx2x_hw_stats_update()
850 memcpy(&(estats->rx_stat_ifhcinbadoctets_hi), &(pstats->mac_stx[1]), in bnx2x_hw_stats_update()
852 estats->brb_drop_hi = pstats->brb_drop_hi; in bnx2x_hw_stats_update()
853 estats->brb_drop_lo = pstats->brb_drop_lo; in bnx2x_hw_stats_update()
860 estats->eee_tx_lpi += REG_RD(bp, lpi_reg); in bnx2x_hw_stats_update()
866 if (nig_timer_max != estats->nig_timer_max) { in bnx2x_hw_stats_update()
867 estats->nig_timer_max = nig_timer_max; in bnx2x_hw_stats_update()
869 estats->nig_timer_max); in bnx2x_hw_stats_update()
923 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_storm_stats_update() local
931 estats->error_bytes_received_hi = 0; in bnx2x_storm_stats_update()
932 estats->error_bytes_received_lo = 0; in bnx2x_storm_stats_update()
1077 ADD_64(estats->total_bytes_received_hi, in bnx2x_storm_stats_update()
1078 estats->rx_stat_ifhcinbadoctets_hi, in bnx2x_storm_stats_update()
1079 estats->total_bytes_received_lo, in bnx2x_storm_stats_update()
1080 estats->rx_stat_ifhcinbadoctets_lo); in bnx2x_storm_stats_update()
1082 ADD_64_LE(estats->total_bytes_received_hi, in bnx2x_storm_stats_update()
1084 estats->total_bytes_received_lo, in bnx2x_storm_stats_update()
1087 ADD_64_LE(estats->error_bytes_received_hi, in bnx2x_storm_stats_update()
1089 estats->error_bytes_received_lo, in bnx2x_storm_stats_update()
1094 ADD_64(estats->error_bytes_received_hi, in bnx2x_storm_stats_update()
1095 estats->rx_stat_ifhcinbadoctets_hi, in bnx2x_storm_stats_update()
1096 estats->error_bytes_received_lo, in bnx2x_storm_stats_update()
1097 estats->rx_stat_ifhcinbadoctets_lo); in bnx2x_storm_stats_update()
1116 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_net_stats_update() local
1122 bnx2x_hilo(&estats->total_unicast_packets_received_hi) + in bnx2x_net_stats_update()
1123 bnx2x_hilo(&estats->total_multicast_packets_received_hi) + in bnx2x_net_stats_update()
1124 bnx2x_hilo(&estats->total_broadcast_packets_received_hi); in bnx2x_net_stats_update()
1127 bnx2x_hilo(&estats->total_unicast_packets_transmitted_hi) + in bnx2x_net_stats_update()
1128 bnx2x_hilo(&estats->total_multicast_packets_transmitted_hi) + in bnx2x_net_stats_update()
1129 bnx2x_hilo(&estats->total_broadcast_packets_transmitted_hi); in bnx2x_net_stats_update()
1131 nstats->rx_bytes = bnx2x_hilo(&estats->total_bytes_received_hi); in bnx2x_net_stats_update()
1133 nstats->tx_bytes = bnx2x_hilo(&estats->total_bytes_transmitted_hi); in bnx2x_net_stats_update()
1135 tmp = estats->mac_discard; in bnx2x_net_stats_update()
1146 bnx2x_hilo(&estats->total_multicast_packets_received_hi); in bnx2x_net_stats_update()
1149 bnx2x_hilo(&estats->tx_stat_etherstatscollisions_hi); in bnx2x_net_stats_update()
1152 bnx2x_hilo(&estats->rx_stat_etherstatsundersizepkts_hi) + in bnx2x_net_stats_update()
1153 bnx2x_hilo(&estats->etherstatsoverrsizepkts_hi); in bnx2x_net_stats_update()
1154 nstats->rx_over_errors = bnx2x_hilo(&estats->brb_drop_hi) + in bnx2x_net_stats_update()
1155 bnx2x_hilo(&estats->brb_truncate_hi); in bnx2x_net_stats_update()
1157 bnx2x_hilo(&estats->rx_stat_dot3statsfcserrors_hi); in bnx2x_net_stats_update()
1159 bnx2x_hilo(&estats->rx_stat_dot3statsalignmenterrors_hi); in bnx2x_net_stats_update()
1160 nstats->rx_fifo_errors = bnx2x_hilo(&estats->no_buff_discard_hi); in bnx2x_net_stats_update()
1171 bnx2x_hilo(&estats->tx_stat_dot3statslatecollisions_hi) + in bnx2x_net_stats_update()
1172 bnx2x_hilo(&estats->tx_stat_dot3statsexcessivecollisions_hi); in bnx2x_net_stats_update()
1174 bnx2x_hilo(&estats->rx_stat_dot3statscarriersenseerrors_hi); in bnx2x_net_stats_update()
1181 bnx2x_hilo(&estats->tx_stat_dot3statsinternalmactransmiterrors_hi); in bnx2x_net_stats_update()
1186 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_drv_stats_update() local
1252 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_stats_update() local
1255 estats->brb_drop_lo, estats->brb_truncate_lo); in bnx2x_stats_update()
1691 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_save_statistics() local
1705 struct bnx2x_eth_stats *estats = &bp->eth_stats; in bnx2x_afex_collect_stats() local
1958 estats->mac_filter_discard); in bnx2x_afex_collect_stats()
1962 estats->brb_truncate_discard); in bnx2x_afex_collect_stats()
1966 estats->mac_discard); in bnx2x_afex_collect_stats()