Lines Matching refs:mac_stats
1123 struct qlcnic_mac_statistics *mac_stats) in qlcnic_get_mac_stats() argument
1132 if (mac_stats == NULL) in qlcnic_get_mac_stats()
1150 mac_stats->mac_tx_frames = le64_to_cpu(stats->mac_tx_frames); in qlcnic_get_mac_stats()
1151 mac_stats->mac_tx_bytes = le64_to_cpu(stats->mac_tx_bytes); in qlcnic_get_mac_stats()
1152 mac_stats->mac_tx_mcast_pkts = in qlcnic_get_mac_stats()
1154 mac_stats->mac_tx_bcast_pkts = in qlcnic_get_mac_stats()
1156 mac_stats->mac_rx_frames = le64_to_cpu(stats->mac_rx_frames); in qlcnic_get_mac_stats()
1157 mac_stats->mac_rx_bytes = le64_to_cpu(stats->mac_rx_bytes); in qlcnic_get_mac_stats()
1158 mac_stats->mac_rx_mcast_pkts = in qlcnic_get_mac_stats()
1160 mac_stats->mac_rx_length_error = in qlcnic_get_mac_stats()
1162 mac_stats->mac_rx_length_small = in qlcnic_get_mac_stats()
1164 mac_stats->mac_rx_length_large = in qlcnic_get_mac_stats()
1166 mac_stats->mac_rx_jabber = le64_to_cpu(stats->mac_rx_jabber); in qlcnic_get_mac_stats()
1167 mac_stats->mac_rx_dropped = le64_to_cpu(stats->mac_rx_dropped); in qlcnic_get_mac_stats()
1168 mac_stats->mac_rx_crc_error = le64_to_cpu(stats->mac_rx_crc_error); in qlcnic_get_mac_stats()