Lines Matching defs:smb

669 	atge_l1e_smb_t smb;
677 reg = &smb.rx_frames;
678 while (reg++ <= &smb.rx_pkts_filtered) {
687 reg = &smb.tx_frames;
688 while (reg++ <= &smb.tx_mcast_bytes) {
698 atge_l1e_smb_t *smb;
708 smb = &local_smb;
712 reg = &smb->rx_frames;
713 while (reg++ <= &smb->rx_pkts_filtered) {
720 reg = &smb->tx_frames;
721 while (reg++ <= &smb->tx_mcast_bytes) {
731 stat->rx_frames += smb->rx_frames;
732 stat->rx_bcast_frames += smb->rx_bcast_frames;
733 stat->rx_mcast_frames += smb->rx_mcast_frames;
734 stat->rx_pause_frames += smb->rx_pause_frames;
735 stat->rx_control_frames += smb->rx_control_frames;
736 stat->rx_crcerrs += smb->rx_crcerrs;
737 stat->rx_lenerrs += smb->rx_lenerrs;
738 stat->rx_bytes += smb->rx_bytes;
739 stat->rx_runts += smb->rx_runts;
740 stat->rx_fragments += smb->rx_fragments;
741 stat->rx_pkts_64 += smb->rx_pkts_64;
742 stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
743 stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
744 stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
745 stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
746 stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
747 stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
748 stat->rx_pkts_truncated += smb->rx_pkts_truncated;
749 stat->rx_fifo_oflows += smb->rx_fifo_oflows;
750 stat->rx_rrs_errs += smb->rx_rrs_errs;
751 stat->rx_alignerrs += smb->rx_alignerrs;
752 stat->rx_bcast_bytes += smb->rx_bcast_bytes;
753 stat->rx_mcast_bytes += smb->rx_mcast_bytes;
754 stat->rx_pkts_filtered += smb->rx_pkts_filtered;
757 stat->tx_frames += smb->tx_frames;
758 stat->tx_bcast_frames += smb->tx_bcast_frames;
759 stat->tx_mcast_frames += smb->tx_mcast_frames;
760 stat->tx_pause_frames += smb->tx_pause_frames;
761 stat->tx_excess_defer += smb->tx_excess_defer;
762 stat->tx_control_frames += smb->tx_control_frames;
763 stat->tx_deferred += smb->tx_deferred;
764 stat->tx_bytes += smb->tx_bytes;
765 stat->tx_pkts_64 += smb->tx_pkts_64;
766 stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
767 stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
768 stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
769 stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
770 stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
771 stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
772 stat->tx_single_colls += smb->tx_single_colls;
773 stat->tx_multi_colls += smb->tx_multi_colls;
774 stat->tx_late_colls += smb->tx_late_colls;
775 stat->tx_excess_colls += smb->tx_excess_colls;
776 stat->tx_abort += smb->tx_abort;
777 stat->tx_underrun += smb->tx_underrun;
778 stat->tx_desc_underrun += smb->tx_desc_underrun;
779 stat->tx_lenerrs += smb->tx_lenerrs;
780 stat->tx_pkts_truncated += smb->tx_pkts_truncated;
781 stat->tx_bcast_bytes += smb->tx_bcast_bytes;
782 stat->tx_mcast_bytes += smb->tx_mcast_bytes;
787 atgep->atge_brdcstrcv += smb->rx_bcast_frames;
788 atgep->atge_multircv += smb->rx_mcast_frames;
789 atgep->atge_multixmt += smb->tx_mcast_frames;
790 atgep->atge_brdcstxmt += smb->tx_bcast_frames;
792 atgep->atge_align_errors += smb->rx_alignerrs;
793 atgep->atge_fcs_errors += smb->rx_crcerrs;
794 atgep->atge_sqe_errors += smb->rx_rrs_errs;
795 atgep->atge_defer_xmts += smb->tx_deferred;
796 atgep->atge_first_collisions += smb->tx_single_colls;
797 atgep->atge_multi_collisions += smb->tx_multi_colls * 2;
798 atgep->atge_tx_late_collisions += smb->tx_late_colls;
799 atgep->atge_ex_collisions += smb->tx_excess_colls;
800 atgep->atge_macxmt_errors += smb->tx_abort;
801 atgep->atge_toolong_errors += smb->rx_lenerrs;
802 atgep->atge_overflow += smb->rx_fifo_oflows;
803 atgep->atge_underflow += (smb->tx_underrun + smb->tx_desc_underrun);
804 atgep->atge_runt += smb->rx_runts;
807 atgep->atge_collisions += smb->tx_single_colls +
808 smb->tx_multi_colls * 2 + smb->tx_late_colls +
809 smb->tx_abort * HDPX_CFG_RETRY_DEFAULT;
815 atgep->atge_macxmt_errors += smb->tx_abort + smb->tx_late_colls +
816 smb->tx_underrun;
818 atgep->atge_macrcv_errors += smb->rx_crcerrs + smb->rx_lenerrs +
819 smb->rx_runts + smb->rx_pkts_truncated +
820 smb->rx_fifo_oflows + smb->rx_rrs_errs +
821 smb->rx_alignerrs;