Lines Matching refs:mac_stats
1124 struct qlcnic_mac_statistics *mac_stats) in qlcnic_get_mac_stats() argument
1133 if (mac_stats == NULL) in qlcnic_get_mac_stats()
1151 mac_stats->mac_tx_frames = le64_to_cpu(stats->mac_tx_frames); in qlcnic_get_mac_stats()
1152 mac_stats->mac_tx_bytes = le64_to_cpu(stats->mac_tx_bytes); in qlcnic_get_mac_stats()
1153 mac_stats->mac_tx_mcast_pkts = in qlcnic_get_mac_stats()
1155 mac_stats->mac_tx_bcast_pkts = in qlcnic_get_mac_stats()
1157 mac_stats->mac_rx_frames = le64_to_cpu(stats->mac_rx_frames); in qlcnic_get_mac_stats()
1158 mac_stats->mac_rx_bytes = le64_to_cpu(stats->mac_rx_bytes); in qlcnic_get_mac_stats()
1159 mac_stats->mac_rx_mcast_pkts = in qlcnic_get_mac_stats()
1161 mac_stats->mac_rx_length_error = in qlcnic_get_mac_stats()
1163 mac_stats->mac_rx_length_small = in qlcnic_get_mac_stats()
1165 mac_stats->mac_rx_length_large = in qlcnic_get_mac_stats()
1167 mac_stats->mac_rx_jabber = le64_to_cpu(stats->mac_rx_jabber); in qlcnic_get_mac_stats()
1168 mac_stats->mac_rx_dropped = le64_to_cpu(stats->mac_rx_dropped); in qlcnic_get_mac_stats()
1169 mac_stats->mac_rx_crc_error = le64_to_cpu(stats->mac_rx_crc_error); in qlcnic_get_mac_stats()