Lines Matching refs:smb

2024 	struct smb *smb;
2035 smb = sc->age_rdata.age_smb_block;
2036 if (smb->updated == 0)
2041 stat->rx_frames += smb->rx_frames;
2042 stat->rx_bcast_frames += smb->rx_bcast_frames;
2043 stat->rx_mcast_frames += smb->rx_mcast_frames;
2044 stat->rx_pause_frames += smb->rx_pause_frames;
2045 stat->rx_control_frames += smb->rx_control_frames;
2046 stat->rx_crcerrs += smb->rx_crcerrs;
2047 stat->rx_lenerrs += smb->rx_lenerrs;
2048 stat->rx_bytes += smb->rx_bytes;
2049 stat->rx_runts += smb->rx_runts;
2050 stat->rx_fragments += smb->rx_fragments;
2051 stat->rx_pkts_64 += smb->rx_pkts_64;
2052 stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
2053 stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
2054 stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
2055 stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
2056 stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
2057 stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
2058 stat->rx_pkts_truncated += smb->rx_pkts_truncated;
2059 stat->rx_fifo_oflows += smb->rx_fifo_oflows;
2060 stat->rx_desc_oflows += smb->rx_desc_oflows;
2061 stat->rx_alignerrs += smb->rx_alignerrs;
2062 stat->rx_bcast_bytes += smb->rx_bcast_bytes;
2063 stat->rx_mcast_bytes += smb->rx_mcast_bytes;
2064 stat->rx_pkts_filtered += smb->rx_pkts_filtered;
2067 stat->tx_frames += smb->tx_frames;
2068 stat->tx_bcast_frames += smb->tx_bcast_frames;
2069 stat->tx_mcast_frames += smb->tx_mcast_frames;
2070 stat->tx_pause_frames += smb->tx_pause_frames;
2071 stat->tx_excess_defer += smb->tx_excess_defer;
2072 stat->tx_control_frames += smb->tx_control_frames;
2073 stat->tx_deferred += smb->tx_deferred;
2074 stat->tx_bytes += smb->tx_bytes;
2075 stat->tx_pkts_64 += smb->tx_pkts_64;
2076 stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
2077 stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
2078 stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
2079 stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
2080 stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
2081 stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
2082 stat->tx_single_colls += smb->tx_single_colls;
2083 stat->tx_multi_colls += smb->tx_multi_colls;
2084 stat->tx_late_colls += smb->tx_late_colls;
2085 stat->tx_excess_colls += smb->tx_excess_colls;
2086 stat->tx_underrun += smb->tx_underrun;
2087 stat->tx_desc_underrun += smb->tx_desc_underrun;
2088 stat->tx_lenerrs += smb->tx_lenerrs;
2089 stat->tx_pkts_truncated += smb->tx_pkts_truncated;
2090 stat->tx_bcast_bytes += smb->tx_bcast_bytes;
2091 stat->tx_mcast_bytes += smb->tx_mcast_bytes;
2094 ifp->if_opackets += smb->tx_frames;
2096 ifp->if_collisions += smb->tx_single_colls +
2097 smb->tx_multi_colls + smb->tx_late_colls +
2098 smb->tx_excess_colls * HDPX_CFG_RETRY_DEFAULT;
2100 ifp->if_oerrors += smb->tx_excess_colls +
2101 smb->tx_late_colls + smb->tx_underrun +
2102 smb->tx_pkts_truncated;
2104 ifp->if_ipackets += smb->rx_frames;
2106 ifp->if_ierrors += smb->rx_crcerrs + smb->rx_lenerrs +
2107 smb->rx_runts + smb->rx_pkts_truncated +
2108 smb->rx_fifo_oflows + smb->rx_desc_oflows +
2109 smb->rx_alignerrs;
2112 smb->updated = 0;