Symbol: mac_stats
sys/dev/al_eth/al_eth.c
2794
struct al_eth_mac_stats *mac_stats = &adapter->mac_stats;
sys/dev/al_eth/al_eth.c
2799
al_eth_mac_stats_get(&adapter->hal_adapter, mac_stats);
sys/dev/al_eth/al_eth.c
2808
struct al_eth_mac_stats *mac_stats;
sys/dev/al_eth/al_eth.c
2812
mac_stats = &adapter->mac_stats;
sys/dev/al_eth/al_eth.c
2816
return (mac_stats->aFramesReceivedOK); /* including pause frames */
sys/dev/al_eth/al_eth.c
2818
return (mac_stats->aFramesTransmittedOK);
sys/dev/al_eth/al_eth.c
2820
return (mac_stats->aOctetsReceivedOK);
sys/dev/al_eth/al_eth.c
2822
return (mac_stats->aOctetsTransmittedOK);
sys/dev/al_eth/al_eth.c
2824
return (mac_stats->ifInMulticastPkts);
sys/dev/al_eth/al_eth.c
2826
return (mac_stats->ifOutMulticastPkts);
sys/dev/al_eth/al_eth.c
2830
return (mac_stats->etherStatsDropEvents);
sys/dev/al_eth/al_eth.c
2832
rv = mac_stats->ifInErrors +
sys/dev/al_eth/al_eth.c
2833
mac_stats->etherStatsUndersizePkts + /* good but short */
sys/dev/al_eth/al_eth.c
2834
mac_stats->etherStatsFragments + /* short and bad*/
sys/dev/al_eth/al_eth.c
2835
mac_stats->etherStatsJabbers + /* with crc errors */
sys/dev/al_eth/al_eth.c
2836
mac_stats->etherStatsOversizePkts +
sys/dev/al_eth/al_eth.c
2837
mac_stats->aFrameCheckSequenceErrors +
sys/dev/al_eth/al_eth.c
2838
mac_stats->aAlignmentErrors;
sys/dev/al_eth/al_eth.c
2841
return (mac_stats->ifOutErrors);
sys/dev/al_eth/al_eth.h
302
struct al_eth_mac_stats mac_stats;
sys/dev/bwn/if_bwn.c
2228
bzero(&mac->mac_stats, sizeof(mac->mac_stats));
sys/dev/bwn/if_bwn.c
2229
mac->mac_stats.link_noise = -95;
sys/dev/bwn/if_bwn.c
5349
mac->mac_stats.link_noise = average;
sys/dev/bwn/if_bwn.c
5636
struct bwn_stats *stats = &mac->mac_stats;
sys/dev/bwn/if_bwn.c
6079
noise = mac->mac_stats.link_noise;
sys/dev/bwn/if_bwn.c
7696
stats = &mac->mac_stats;
sys/dev/bwn/if_bwnvar.h
948
struct bwn_stats mac_stats;
sys/dev/bxe/bxe.h
913
union mac_stats mac_stats;
sys/dev/bxe/bxe_stats.c
376
dmae->dst_addr_lo = U64_LO(BXE_SP_MAPPING(sc, mac_stats));
sys/dev/bxe/bxe_stats.c
377
dmae->dst_addr_hi = U64_HI(BXE_SP_MAPPING(sc, mac_stats));
sys/dev/bxe/bxe_stats.c
388
dmae->dst_addr_lo = U64_LO(BXE_SP_MAPPING(sc, mac_stats) +
sys/dev/bxe/bxe_stats.c
391
dmae->dst_addr_hi = U64_HI(BXE_SP_MAPPING(sc, mac_stats) +
sys/dev/bxe/bxe_stats.c
404
dmae->dst_addr_lo = U64_LO(BXE_SP_MAPPING(sc, mac_stats) +
sys/dev/bxe/bxe_stats.c
407
dmae->dst_addr_hi = U64_HI(BXE_SP_MAPPING(sc, mac_stats) +
sys/dev/bxe/bxe_stats.c
455
(sizeof(sc->sp->mac_stats.mstat_stats.stats_tx) >> 2);
sys/dev/bxe/bxe_stats.c
457
(sizeof(sc->sp->mac_stats.mstat_stats.stats_rx) >> 2);
sys/dev/bxe/bxe_stats.c
467
dmae->dst_addr_lo = U64_LO(BXE_SP_MAPPING(sc, mac_stats));
sys/dev/bxe/bxe_stats.c
468
dmae->dst_addr_hi = U64_HI(BXE_SP_MAPPING(sc, mac_stats));
sys/dev/bxe/bxe_stats.c
479
U64_LO(BXE_SP_MAPPING(sc, mac_stats) + (tx_len << 2));
sys/dev/bxe/bxe_stats.c
481
U64_HI(BXE_SP_MAPPING(sc, mac_stats) + (tx_len << 2));
sys/dev/bxe/bxe_stats.c
629
struct bmac1_stats *new = BXE_SP(sc, mac_stats.bmac1_stats);
sys/dev/bxe/bxe_stats.c
663
struct bmac2_stats *new = BXE_SP(sc, mac_stats.bmac2_stats);
sys/dev/bxe/bxe_stats.c
726
struct mstat_stats *new = BXE_SP(sc, mac_stats.mstat_stats);
sys/dev/bxe/bxe_stats.c
802
struct emac_stats *new = BXE_SP(sc, mac_stats.emac_stats);
sys/dev/cxgb/common/cxgb_common.h
490
struct mac_stats stats;
sys/dev/cxgb/common/cxgb_common.h
763
const struct mac_stats *t3_mac_update_stats(struct cmac *mac);
sys/dev/cxgb/common/cxgb_common.h
834
const struct mac_stats *t3_vsc7323_update_stats(struct cmac *mac);
sys/dev/cxgb/common/cxgb_vsc7323.c
284
const struct mac_stats *t3_vsc7323_update_stats(struct cmac *mac)
sys/dev/cxgb/common/cxgb_xgmac.c
651
struct mac_stats *s = &mac->stats;
sys/dev/cxgb/common/cxgb_xgmac.c
726
struct mac_stats *s = &mac->stats;
sys/dev/cxgb/common/cxgb_xgmac.c
798
const struct mac_stats *t3_mac_update_stats(struct cmac *mac)
sys/dev/cxgb/cxgb_main.c
2157
struct mac_stats *mstats = &mac->stats;
sys/dev/cxgb/cxgb_sge.c
3435
struct mac_stats *mstats = &pi->mac.stats;
sys/dev/cxgb/cxgb_sge.c
3616
offsetof(struct mac_stats, a), sysctl_handle_macstat, "QU", 0)
sys/dev/sfxge/sfxge.h
248
struct sfxge_hw_stats mac_stats;
sys/dev/sfxge/sfxge_port.c
105
uint64_t *mac_stats;
sys/dev/sfxge/sfxge_port.c
113
mac_stats = (uint64_t *)sc->port.mac_stats.decode_buf;
sys/dev/sfxge/sfxge_port.c
117
val = mac_stats[EFX_MAC_RX_PKTS];
sys/dev/sfxge/sfxge_port.c
120
val = mac_stats[EFX_MAC_RX_ERRORS];
sys/dev/sfxge/sfxge_port.c
123
val = mac_stats[EFX_MAC_TX_PKTS];
sys/dev/sfxge/sfxge_port.c
126
val = mac_stats[EFX_MAC_TX_ERRORS];
sys/dev/sfxge/sfxge_port.c
129
val = mac_stats[EFX_MAC_TX_SGL_COL_PKTS] +
sys/dev/sfxge/sfxge_port.c
130
mac_stats[EFX_MAC_TX_MULT_COL_PKTS] +
sys/dev/sfxge/sfxge_port.c
131
mac_stats[EFX_MAC_TX_EX_COL_PKTS] +
sys/dev/sfxge/sfxge_port.c
132
mac_stats[EFX_MAC_TX_LATE_COL_PKTS];
sys/dev/sfxge/sfxge_port.c
135
val = mac_stats[EFX_MAC_RX_OCTETS];
sys/dev/sfxge/sfxge_port.c
138
val = mac_stats[EFX_MAC_TX_OCTETS];
sys/dev/sfxge/sfxge_port.c
141
val = mac_stats[EFX_MAC_TX_MULTICST_PKTS] +
sys/dev/sfxge/sfxge_port.c
142
mac_stats[EFX_MAC_TX_BRDCST_PKTS];
sys/dev/sfxge/sfxge_port.c
173
val = ((uint64_t *)sc->port.mac_stats.decode_buf)[id];
sys/dev/sfxge/sfxge_port.c
461
port->mac_stats.update_time = 0;
sys/dev/sfxge/sfxge_port.c
466
(void)efx_mac_stats_periodic(enp, &port->mac_stats.dma_buf, 0, B_FALSE);
sys/dev/sfxge/sfxge_port.c
525
if ((rc = efx_mac_stats_periodic(enp, &port->mac_stats.dma_buf,
sys/dev/sfxge/sfxge_port.c
552
(void)efx_mac_stats_periodic(enp, &port->mac_stats.dma_buf, 0, B_FALSE);
sys/dev/sfxge/sfxge_port.c
60
efsys_mem_t *esmp = &(port->mac_stats.dma_buf);
sys/dev/sfxge/sfxge_port.c
661
esmp = &port->mac_stats.dma_buf;
sys/dev/sfxge/sfxge_port.c
675
free(port->mac_stats.decode_buf, M_SFXGE);
sys/dev/sfxge/sfxge_port.c
726
&port->mac_stats.dma_buf,
sys/dev/sfxge/sfxge_port.c
756
mac_stats_buf = &port->mac_stats.dma_buf;
sys/dev/sfxge/sfxge_port.c
76
if ((unsigned int)(now - port->mac_stats.update_time) < min_ticks) {
sys/dev/sfxge/sfxge_port.c
790
port->mac_stats.decode_buf = malloc(EFX_MAC_NSTATS * sizeof(uint64_t),
sys/dev/sfxge/sfxge_port.c
81
port->mac_stats.update_time = now;
sys/dev/sfxge/sfxge_port.c
812
free(port->mac_stats.decode_buf, M_SFXGE);
sys/dev/sfxge/sfxge_port.c
90
port->mac_stats.decode_buf, NULL)) != EAGAIN)