Lines Matching defs:smb
1415 * It seems that AR813x/AR815x has silicon bug for SMB. In
1416 * addition, Atheros said that enabling SMB wouldn't improve
1750 * Create DMA stuffs for SMB block
1758 /* Allocate DMA'able memory for SMB block */
1764 "SMB block\n", device_xname(sc->sc_dev));
1774 /* Load the DMA map for SMB block */
1779 printf("%s: could not load DMA'able memory for SMB block\n",
1898 /* SMB block */
2173 struct smb sb, *smb;
2181 smb = sc->alc_rdata.alc_smb;
2183 smb->updated = 0;
2207 struct smb sb, *smb;
2216 smb = sc->alc_rdata.alc_smb;
2217 if (smb->updated == 0)
2220 smb = &sb;
2236 stat->rx_frames += smb->rx_frames;
2237 stat->rx_bcast_frames += smb->rx_bcast_frames;
2238 stat->rx_mcast_frames += smb->rx_mcast_frames;
2239 stat->rx_pause_frames += smb->rx_pause_frames;
2240 stat->rx_control_frames += smb->rx_control_frames;
2241 stat->rx_crcerrs += smb->rx_crcerrs;
2242 stat->rx_lenerrs += smb->rx_lenerrs;
2243 stat->rx_bytes += smb
2244 stat->rx_runts += smb->rx_runts;
2245 stat->rx_fragments += smb->rx_fragments;
2246 stat->rx_pkts_64 += smb->rx_pkts_64;
2247 stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
2248 stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
2249 stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
2250 stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
2251 stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
2252 stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
2253 stat->rx_pkts_truncated += smb->rx_pkts_truncated;
2254 stat->rx_fifo_oflows += smb->rx_fifo_oflows;
2255 stat->rx_rrs_errs += smb->rx_rrs_errs;
2256 stat->rx_alignerrs += smb->rx_alignerrs;
2257 stat->rx_bcast_bytes += smb->rx_bcast_bytes;
2258 stat->rx_mcast_bytes += smb->rx_mcast_bytes;
2259 stat->rx_pkts_filtered += smb->rx_pkts_filtered;
2262 stat->tx_frames += smb->tx_frames;
2263 stat->tx_bcast_frames += smb->tx_bcast_frames;
2264 stat->tx_mcast_frames += smb->tx_mcast_frames;
2265 stat->tx_pause_frames += smb->tx_pause_frames;
2266 stat->tx_excess_defer += smb->tx_excess_defer;
2267 stat->tx_control_frames += smb->tx_control_frames;
2268 stat->tx_deferred += smb->tx_deferred;
2269 stat->tx_bytes += smb->tx_bytes;
2270 stat->tx_pkts_64 += smb->tx_pkts_64;
2271 stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
2272 stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
2273 stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
2274 stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
2275 stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
2276 stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
2277 stat->tx_single_colls += smb->tx_single_colls;
2278 stat->tx_multi_colls += smb->tx_multi_colls;
2279 stat->tx_late_colls += smb->tx_late_colls;
2280 stat->tx_excess_colls += smb->tx_excess_colls;
2281 stat->tx_underrun += smb->tx_underrun;
2282 stat->tx_desc_underrun += smb->tx_desc_underrun;
2283 stat->tx_lenerrs += smb->tx_lenerrs;
2284 stat->tx_pkts_truncated += smb->tx_pkts_truncated;
2285 stat->tx_bcast_bytes += smb->tx_bcast_bytes;
2286 stat->tx_mcast_bytes += smb->tx_mcast_bytes;
2291 if_statadd_ref(ifp, nsr, if_opackets, smb->tx_frames);
2294 smb->tx_single_colls +
2295 smb->tx_multi_colls * 2 + smb->tx_late_colls +
2296 smb->tx_excess_colls * HDPX_CFG_RETRY_DEFAULT);
2299 smb->tx_late_colls + smb->tx_excess_colls +
2300 smb->tx_underrun + smb->tx_pkts_truncated);
2303 smb->rx_crcerrs + smb->rx_lenerrs +
2304 smb->rx_runts + smb->rx_pkts_truncated +
2305 smb->rx_fifo_oflows + smb->rx_rrs_errs +
2306 smb->rx_alignerrs);
2312 smb->updated = 0;
2960 * Hardware can be configured to issue SMB interrupt based
2963 * relying on periodic SMB interrupt.