Lines Matching defs:smb

531 	atge_l1c_smb_t smb;
539 reg = &smb.rx_frames;
540 while (reg++ <= &smb.rx_pkts_filtered) {
549 reg = &smb.tx_frames;
550 while (reg++ <= &smb.tx_mcast_bytes) {
562 atge_l1c_smb_t *smb;
570 smb = (atge_l1c_smb_t *)dma->addr;
573 stat->rx_frames += smb->rx_frames;
574 stat->rx_bcast_frames += smb->rx_bcast_frames;
575 stat->rx_mcast_frames += smb->rx_mcast_frames;
576 stat->rx_pause_frames += smb->rx_pause_frames;
577 stat->rx_control_frames += smb->rx_control_frames;
578 stat->rx_crcerrs += smb->rx_crcerrs;
579 stat->rx_lenerrs += smb->rx_lenerrs;
580 stat->rx_bytes += smb->rx_bytes;
581 stat->rx_runts += smb->rx_runts;
582 stat->rx_fragments += smb->rx_fragments;
583 stat->rx_pkts_64 += smb->rx_pkts_64;
584 stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
585 stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
586 stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
587 stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
588 stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
589 stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
590 stat->rx_pkts_truncated += smb->rx_pkts_truncated;
591 stat->rx_fifo_oflows += smb->rx_fifo_oflows;
592 stat->rx_alignerrs += smb->rx_alignerrs;
593 stat->rx_bcast_bytes += smb->rx_bcast_bytes;
594 stat->rx_mcast_bytes += smb->rx_mcast_bytes;
595 stat->rx_pkts_filtered += smb->rx_pkts_filtered;
598 stat->tx_frames += smb->tx_frames;
599 stat->tx_bcast_frames += smb->tx_bcast_frames;
600 stat->tx_mcast_frames += smb->tx_mcast_frames;
601 stat->tx_pause_frames += smb->tx_pause_frames;
602 stat->tx_excess_defer += smb->tx_excess_defer;
603 stat->tx_control_frames += smb->tx_control_frames;
604 stat->tx_deferred += smb->tx_deferred;
605 stat->tx_bytes += smb->tx_bytes;
606 stat->tx_pkts_64 += smb->tx_pkts_64;
607 stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
608 stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
609 stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
610 stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
611 stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
612 stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
613 stat->tx_single_colls += smb->tx_single_colls;
614 stat->tx_multi_colls += smb->tx_multi_colls;
615 stat->tx_late_colls += smb->tx_late_colls;
616 stat->tx_excess_colls += smb->tx_excess_colls;
617 stat->tx_underrun += smb->tx_underrun;
618 stat->tx_desc_underrun += smb->tx_desc_underrun;
619 stat->tx_lenerrs += smb->tx_lenerrs;
620 stat->tx_pkts_truncated += smb->tx_pkts_truncated;
621 stat->tx_bcast_bytes += smb->tx_bcast_bytes;
622 stat->tx_mcast_bytes += smb->tx_mcast_bytes;
627 atgep->atge_brdcstrcv += smb->rx_bcast_frames;
628 atgep->atge_multircv += smb->rx_mcast_frames;
629 atgep->atge_multixmt += smb->tx_mcast_frames;
630 atgep->atge_brdcstxmt += smb->tx_bcast_frames;
632 atgep->atge_align_errors += smb->rx_alignerrs;
633 atgep->atge_fcs_errors += smb->rx_crcerrs;
634 atgep->atge_defer_xmts += smb->tx_deferred;
635 atgep->atge_first_collisions += smb->tx_single_colls;
636 atgep->atge_multi_collisions += smb->tx_multi_colls * 2;
637 atgep->atge_tx_late_collisions += smb->tx_late_colls;
638 atgep->atge_ex_collisions += smb->tx_excess_colls;
639 atgep->atge_toolong_errors += smb->rx_lenerrs;
640 atgep->atge_overflow += smb->rx_fifo_oflows;
641 atgep->atge_underflow += (smb->tx_underrun + smb->tx_desc_underrun);
642 atgep->atge_runt += smb->rx_runts;
645 atgep->atge_collisions += smb->tx_single_colls +
646 smb->tx_multi_colls * 2 + smb->tx_late_colls;
652 atgep->atge_macxmt_errors += smb->tx_late_colls + smb->tx_underrun;
654 atgep->atge_macrcv_errors += smb->rx_crcerrs + smb->rx_lenerrs +
655 smb->rx_runts + smb->rx_pkts_truncated +
656 smb->rx_alignerrs;
658 smb->updated = 0;