Lines Matching defs:estats

617     struct bxe_eth_stats *estats = &sc->eth_stats;
704 estats->pause_frames_received_hi = pstats->mac_stx[1].rx_stat_mac_xpf_hi;
705 estats->pause_frames_received_lo = pstats->mac_stx[1].rx_stat_mac_xpf_lo;
707 estats->pause_frames_sent_hi = pstats->mac_stx[1].tx_stat_outxoffsent_hi;
708 estats->pause_frames_sent_lo = pstats->mac_stx[1].tx_stat_outxoffsent_lo;
710 estats->pfc_frames_received_hi = pstats->pfc_frames_rx_hi;
711 estats->pfc_frames_received_lo = pstats->pfc_frames_rx_lo;
712 estats->pfc_frames_sent_hi = pstats->pfc_frames_tx_hi;
713 estats->pfc_frames_sent_lo = pstats->pfc_frames_tx_lo;
720 struct bxe_eth_stats *estats = &sc->eth_stats;
757 estats->etherstatspkts1024octetsto1522octets_hi =
759 estats->etherstatspkts1024octetsto1522octets_lo =
762 estats->etherstatspktsover1522octets_hi =
764 estats->etherstatspktsover1522octets_lo =
767 ADD_64(estats->etherstatspktsover1522octets_hi,
769 estats->etherstatspktsover1522octets_lo,
772 ADD_64(estats->etherstatspktsover1522octets_hi,
774 estats->etherstatspktsover1522octets_lo,
777 ADD_64(estats->etherstatspktsover1522octets_hi,
779 estats->etherstatspktsover1522octets_lo,
782 estats->pause_frames_received_hi = pstats->mac_stx[1].rx_stat_mac_xpf_hi;
783 estats->pause_frames_received_lo = pstats->mac_stx[1].rx_stat_mac_xpf_lo;
785 estats->pause_frames_sent_hi = pstats->mac_stx[1].tx_stat_outxoffsent_hi;
786 estats->pause_frames_sent_lo = pstats->mac_stx[1].tx_stat_outxoffsent_lo;
788 estats->pfc_frames_received_hi = pstats->pfc_frames_rx_hi;
789 estats->pfc_frames_received_lo = pstats->pfc_frames_rx_lo;
790 estats->pfc_frames_sent_hi = pstats->pfc_frames_tx_hi;
791 estats->pfc_frames_sent_lo = pstats->pfc_frames_tx_lo;
799 struct bxe_eth_stats *estats = &sc->eth_stats;
833 estats->pause_frames_received_hi =
835 estats->pause_frames_received_lo =
837 ADD_64(estats->pause_frames_received_hi,
839 estats->pause_frames_received_lo,
842 estats->pause_frames_sent_hi =
844 estats->pause_frames_sent_lo =
846 ADD_64(estats->pause_frames_sent_hi,
848 estats->pause_frames_sent_lo,
858 struct bxe_eth_stats *estats = &sc->eth_stats;
890 ADD_EXTEND_64(estats->brb_truncate_hi, estats->brb_truncate_lo,
902 memcpy(&(estats->rx_stat_ifhcinbadoctets_hi), &(pstats->mac_stx[1]),
904 estats->brb_drop_hi = pstats->brb_drop_hi;
905 estats->brb_drop_lo = pstats->brb_drop_lo;
913 estats->eee_tx_lpi += REG_RD(sc, lpi_reg);
918 if (nig_timer_max != estats->nig_timer_max) {
919 estats->nig_timer_max = nig_timer_max;
921 estats->nig_timer_max);
986 struct bxe_eth_stats *estats = &sc->eth_stats;
995 estats->error_bytes_received_hi = 0;
996 estats->error_bytes_received_lo = 0;
1127 ADD_64(estats->total_bytes_received_hi,
1128 estats->rx_stat_ifhcinbadoctets_hi,
1129 estats->total_bytes_received_lo,
1130 estats->rx_stat_ifhcinbadoctets_lo);
1132 ADD_64_LE(estats->total_bytes_received_hi,
1134 estats->total_bytes_received_lo,
1137 ADD_64_LE(estats->error_bytes_received_hi,
1139 estats->error_bytes_received_lo,
1144 ADD_64(estats->error_bytes_received_hi,
1145 estats->rx_stat_ifhcinbadoctets_hi,
1146 estats->error_bytes_received_lo,
1147 estats->rx_stat_ifhcinbadoctets_lo);
1167 struct bxe_eth_stats *estats = &sc->eth_stats;
1173 bxe_hilo(&estats->total_unicast_packets_received_hi) +
1174 bxe_hilo(&estats->total_multicast_packets_received_hi) +
1175 bxe_hilo(&estats->total_broadcast_packets_received_hi);
1178 bxe_hilo(&estats->total_unicast_packets_transmitted_hi) +
1179 bxe_hilo(&estats->total_multicast_packets_transmitted_hi) +
1180 bxe_hilo(&estats->total_broadcast_packets_transmitted_hi);
1182 ifnet->if_data.ifi_ibytes = bxe_hilo(&estats->total_bytes_received_hi);
1184 ifnet->if_data.ifi_obytes = bxe_hilo(&estats->total_bytes_transmitted_hi);
1196 bxe_hilo(&estats->rx_stat_etherstatsundersizepkts_hi) +
1197 bxe_hilo(&estats->etherstatsoverrsizepkts_hi) +
1198 bxe_hilo(&estats->brb_drop_hi) +
1199 bxe_hilo(&estats->brb_truncate_hi) +
1200 bxe_hilo(&estats->rx_stat_dot3statsfcserrors_hi) +
1201 bxe_hilo(&estats->rx_stat_dot3statsalignmenterrors_hi) +
1202 bxe_hilo(&estats->no_buff_discard_hi);
1205 bxe_hilo(&estats->rx_stat_dot3statscarriersenseerrors_hi) +
1206 bxe_hilo(&estats->tx_stat_dot3statsinternalmactransmiterrors_hi);
1209 bxe_hilo(&estats->total_multicast_packets_received_hi);
1212 bxe_hilo(&estats->tx_stat_etherstatscollisions_hi) +
1213 bxe_hilo(&estats->tx_stat_dot3statslatecollisions_hi) +
1214 bxe_hilo(&estats->tx_stat_dot3statsexcessivecollisions_hi);
1220 struct bxe_eth_stats *estats = &sc->eth_stats;
1744 struct bxe_eth_stats *estats = &sc->eth_stats;
1769 struct bxe_eth_stats *estats = &sc->eth_stats;
2029 estats->mac_filter_discard);
2033 estats->brb_truncate_discard);
2037 estats->mac_discard);