Searched refs:esw_stats (Results 1 – 3 of 3) sorted by relevance
1066 const u8 rx_tx, struct __qlcnic_esw_statistics *esw_stats) { in qlcnic_get_port_stats() argument1076 if (esw_stats == NULL) in qlcnic_get_port_stats()1106 esw_stats->context_id = le16_to_cpu(stats->context_id); in qlcnic_get_port_stats()1107 esw_stats->version = le16_to_cpu(stats->version); in qlcnic_get_port_stats()1108 esw_stats->size = le16_to_cpu(stats->size); in qlcnic_get_port_stats()1109 esw_stats->multicast_frames = in qlcnic_get_port_stats()1111 esw_stats->broadcast_frames = in qlcnic_get_port_stats()1113 esw_stats->unicast_frames = le64_to_cpu(stats->unicast_frames); in qlcnic_get_port_stats()1114 esw_stats->dropped_frames = le64_to_cpu(stats->dropped_frames); in qlcnic_get_port_stats()1115 esw_stats->local_frames = le64_to_cpu(stats->local_frames); in qlcnic_get_port_stats()[all …]
1295 struct __qlcnic_esw_statistics *esw_stats = in qlcnic_fill_stats() local1297 *data++ = QLCNIC_FILL_STATS(esw_stats->unicast_frames); in qlcnic_fill_stats()1298 *data++ = QLCNIC_FILL_STATS(esw_stats->multicast_frames); in qlcnic_fill_stats()1299 *data++ = QLCNIC_FILL_STATS(esw_stats->broadcast_frames); in qlcnic_fill_stats()1300 *data++ = QLCNIC_FILL_STATS(esw_stats->dropped_frames); in qlcnic_fill_stats()1301 *data++ = QLCNIC_FILL_STATS(esw_stats->errors); in qlcnic_fill_stats()1302 *data++ = QLCNIC_FILL_STATS(esw_stats->local_frames); in qlcnic_fill_stats()1303 *data++ = QLCNIC_FILL_STATS(esw_stats->numbytes); in qlcnic_fill_stats()
813 struct qlcnic_esw_statistics esw_stats; in qlcnic_sysfs_get_esw_stats() local825 memset(&esw_stats, 0, size); in qlcnic_sysfs_get_esw_stats()827 &esw_stats.rx); in qlcnic_sysfs_get_esw_stats()832 &esw_stats.tx); in qlcnic_sysfs_get_esw_stats()836 memcpy(buf, &esw_stats, size); in qlcnic_sysfs_get_esw_stats()