Searched refs:esw_stats (Results 1 – 3 of 3) sorted by relevance
1059 const u8 rx_tx, struct __qlcnic_esw_statistics *esw_stats) { in qlcnic_get_port_stats() argument1069 if (esw_stats == NULL) in qlcnic_get_port_stats()1099 esw_stats->context_id = le16_to_cpu(stats->context_id); in qlcnic_get_port_stats()1100 esw_stats->version = le16_to_cpu(stats->version); in qlcnic_get_port_stats()1101 esw_stats->size = le16_to_cpu(stats->size); in qlcnic_get_port_stats()1102 esw_stats->multicast_frames = in qlcnic_get_port_stats()1104 esw_stats->broadcast_frames = in qlcnic_get_port_stats()1106 esw_stats->unicast_frames = le64_to_cpu(stats->unicast_frames); in qlcnic_get_port_stats()1107 esw_stats->dropped_frames = le64_to_cpu(stats->dropped_frames); in qlcnic_get_port_stats()1108 esw_stats->local_frames = le64_to_cpu(stats->local_frames); in qlcnic_get_port_stats()[all …]
1279 struct __qlcnic_esw_statistics *esw_stats = in qlcnic_fill_stats() local1281 *data++ = QLCNIC_FILL_STATS(esw_stats->unicast_frames); in qlcnic_fill_stats()1282 *data++ = QLCNIC_FILL_STATS(esw_stats->multicast_frames); in qlcnic_fill_stats()1283 *data++ = QLCNIC_FILL_STATS(esw_stats->broadcast_frames); in qlcnic_fill_stats()1284 *data++ = QLCNIC_FILL_STATS(esw_stats->dropped_frames); in qlcnic_fill_stats()1285 *data++ = QLCNIC_FILL_STATS(esw_stats->errors); in qlcnic_fill_stats()1286 *data++ = QLCNIC_FILL_STATS(esw_stats->local_frames); in qlcnic_fill_stats()1287 *data++ = QLCNIC_FILL_STATS(esw_stats->numbytes); in qlcnic_fill_stats()
815 struct qlcnic_esw_statistics esw_stats; in qlcnic_sysfs_get_esw_stats() local827 memset(&esw_stats, 0, size); in qlcnic_sysfs_get_esw_stats()829 &esw_stats.rx); in qlcnic_sysfs_get_esw_stats()834 &esw_stats.tx); in qlcnic_sysfs_get_esw_stats()838 memcpy(buf, &esw_stats, size); in qlcnic_sysfs_get_esw_stats()