Lines Matching refs:mac_stats
2826 struct al_eth_mac_stats *mac_stats = &adapter->mac_stats; in al_eth_update_stats() local
2831 al_eth_mac_stats_get(&adapter->hal_adapter, mac_stats); in al_eth_update_stats()
2840 struct al_eth_mac_stats *mac_stats; in al_get_counter() local
2844 mac_stats = &adapter->mac_stats; in al_get_counter()
2848 return (mac_stats->aFramesReceivedOK); /* including pause frames */ in al_get_counter()
2850 return (mac_stats->aFramesTransmittedOK); in al_get_counter()
2852 return (mac_stats->aOctetsReceivedOK); in al_get_counter()
2854 return (mac_stats->aOctetsTransmittedOK); in al_get_counter()
2856 return (mac_stats->ifInMulticastPkts); in al_get_counter()
2858 return (mac_stats->ifOutMulticastPkts); in al_get_counter()
2862 return (mac_stats->etherStatsDropEvents); in al_get_counter()
2864 rv = mac_stats->ifInErrors + in al_get_counter()
2865 mac_stats->etherStatsUndersizePkts + /* good but short */ in al_get_counter()
2866 mac_stats->etherStatsFragments + /* short and bad*/ in al_get_counter()
2867 mac_stats->etherStatsJabbers + /* with crc errors */ in al_get_counter()
2868 mac_stats->etherStatsOversizePkts + in al_get_counter()
2869 mac_stats->aFrameCheckSequenceErrors + in al_get_counter()
2870 mac_stats->aAlignmentErrors; in al_get_counter()
2873 return (mac_stats->ifOutErrors); in al_get_counter()