Lines Matching refs:mac_stats
2823 struct al_eth_mac_stats *mac_stats = &adapter->mac_stats; in al_eth_update_stats() local
2828 al_eth_mac_stats_get(&adapter->hal_adapter, mac_stats); in al_eth_update_stats()
2837 struct al_eth_mac_stats *mac_stats; in al_get_counter() local
2841 mac_stats = &adapter->mac_stats; in al_get_counter()
2845 return (mac_stats->aFramesReceivedOK); /* including pause frames */ in al_get_counter()
2847 return (mac_stats->aFramesTransmittedOK); in al_get_counter()
2849 return (mac_stats->aOctetsReceivedOK); in al_get_counter()
2851 return (mac_stats->aOctetsTransmittedOK); in al_get_counter()
2853 return (mac_stats->ifInMulticastPkts); in al_get_counter()
2855 return (mac_stats->ifOutMulticastPkts); in al_get_counter()
2859 return (mac_stats->etherStatsDropEvents); in al_get_counter()
2861 rv = mac_stats->ifInErrors + in al_get_counter()
2862 mac_stats->etherStatsUndersizePkts + /* good but short */ in al_get_counter()
2863 mac_stats->etherStatsFragments + /* short and bad*/ in al_get_counter()
2864 mac_stats->etherStatsJabbers + /* with crc errors */ in al_get_counter()
2865 mac_stats->etherStatsOversizePkts + in al_get_counter()
2866 mac_stats->aFrameCheckSequenceErrors + in al_get_counter()
2867 mac_stats->aAlignmentErrors; in al_get_counter()
2870 return (mac_stats->ifOutErrors); in al_get_counter()