Lines Matching defs:smb

455 	atge_l1_smb_t *smb;
463 smb = (atge_l1_smb_t *)dma->addr;
466 stat->rx_frames += smb->rx_frames;
467 stat->rx_bcast_frames += smb->rx_bcast_frames;
468 stat->rx_mcast_frames += smb->rx_mcast_frames;
469 stat->rx_pause_frames += smb->rx_pause_frames;
470 stat->rx_control_frames += smb->rx_control_frames;
471 stat->rx_crcerrs += smb->rx_crcerrs;
472 stat->rx_lenerrs += smb->rx_lenerrs;
473 stat->rx_bytes += smb->rx_bytes;
474 stat->rx_runts += smb->rx_runts;
475 stat->rx_fragments += smb->rx_fragments;
476 stat->rx_pkts_64 += smb->rx_pkts_64;
477 stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
478 stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
479 stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
480 stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
481 stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
482 stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
483 stat->rx_pkts_truncated += smb->rx_pkts_truncated;
484 stat->rx_fifo_oflows += smb->rx_fifo_oflows;
485 stat->rx_alignerrs += smb->rx_alignerrs;
486 stat->rx_bcast_bytes += smb->rx_bcast_bytes;
487 stat->rx_mcast_bytes += smb->rx_mcast_bytes;
488 stat->rx_pkts_filtered += smb->rx_pkts_filtered;
491 stat->tx_frames += smb->tx_frames;
492 stat->tx_bcast_frames += smb->tx_bcast_frames;
493 stat->tx_mcast_frames += smb->tx_mcast_frames;
494 stat->tx_pause_frames += smb->tx_pause_frames;
495 stat->tx_excess_defer += smb->tx_excess_defer;
496 stat->tx_control_frames += smb->tx_control_frames;
497 stat->tx_deferred += smb->tx_deferred;
498 stat->tx_bytes += smb->tx_bytes;
499 stat->tx_pkts_64 += smb->tx_pkts_64;
500 stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
501 stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
502 stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
503 stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
504 stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
505 stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
506 stat->tx_single_colls += smb->tx_single_colls;
507 stat->tx_multi_colls += smb->tx_multi_colls;
508 stat->tx_late_colls += smb->tx_late_colls;
509 stat->tx_excess_colls += smb->tx_excess_colls;
510 stat->tx_underrun += smb->tx_underrun;
511 stat->tx_desc_underrun += smb->tx_desc_underrun;
512 stat->tx_lenerrs += smb->tx_lenerrs;
513 stat->tx_pkts_truncated += smb->tx_pkts_truncated;
514 stat->tx_bcast_bytes += smb->tx_bcast_bytes;
515 stat->tx_mcast_bytes += smb->tx_mcast_bytes;
520 atgep->atge_brdcstrcv += smb->rx_bcast_frames;
521 atgep->atge_multircv += smb->rx_mcast_frames;
522 atgep->atge_multixmt += smb->tx_mcast_frames;
523 atgep->atge_brdcstxmt += smb->tx_bcast_frames;
525 atgep->atge_align_errors += smb->rx_alignerrs;
526 atgep->atge_fcs_errors += smb->rx_crcerrs;
527 atgep->atge_defer_xmts += smb->tx_deferred;
528 atgep->atge_first_collisions += smb->tx_single_colls;
529 atgep->atge_multi_collisions += smb->tx_multi_colls * 2;
530 atgep->atge_tx_late_collisions += smb->tx_late_colls;
531 atgep->atge_ex_collisions += smb->tx_excess_colls;
532 atgep->atge_toolong_errors += smb->rx_lenerrs;
533 atgep->atge_overflow += smb->rx_fifo_oflows;
534 atgep->atge_underflow += (smb->tx_underrun + smb->tx_desc_underrun);
535 atgep->atge_runt += smb->rx_runts;
538 atgep->atge_collisions += smb->tx_single_colls +
539 smb->tx_multi_colls * 2 + smb->tx_late_colls;
545 atgep->atge_macxmt_errors += smb->tx_late_colls + smb->tx_underrun;
547 atgep->atge_macrcv_errors += smb->rx_crcerrs + smb->rx_lenerrs +
548 smb->rx_runts + smb->rx_pkts_truncated +
549 smb->rx_alignerrs;
551 smb->updated = 0;