Lines Matching refs:mac_stats
2794 struct al_eth_mac_stats *mac_stats = &adapter->mac_stats; in al_eth_update_stats() local
2799 al_eth_mac_stats_get(&adapter->hal_adapter, mac_stats); in al_eth_update_stats()
2808 struct al_eth_mac_stats *mac_stats; in al_get_counter() local
2812 mac_stats = &adapter->mac_stats; in al_get_counter()
2816 return (mac_stats->aFramesReceivedOK); /* including pause frames */ in al_get_counter()
2818 return (mac_stats->aFramesTransmittedOK); in al_get_counter()
2820 return (mac_stats->aOctetsReceivedOK); in al_get_counter()
2822 return (mac_stats->aOctetsTransmittedOK); in al_get_counter()
2824 return (mac_stats->ifInMulticastPkts); in al_get_counter()
2826 return (mac_stats->ifOutMulticastPkts); in al_get_counter()
2830 return (mac_stats->etherStatsDropEvents); in al_get_counter()
2832 rv = mac_stats->ifInErrors + in al_get_counter()
2833 mac_stats->etherStatsUndersizePkts + /* good but short */ in al_get_counter()
2834 mac_stats->etherStatsFragments + /* short and bad*/ in al_get_counter()
2835 mac_stats->etherStatsJabbers + /* with crc errors */ in al_get_counter()
2836 mac_stats->etherStatsOversizePkts + in al_get_counter()
2837 mac_stats->aFrameCheckSequenceErrors + in al_get_counter()
2838 mac_stats->aAlignmentErrors; in al_get_counter()
2841 return (mac_stats->ifOutErrors); in al_get_counter()