Home
last modified time | relevance | path

Searched refs:esw_stats (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c1059 const u8 rx_tx, struct __qlcnic_esw_statistics *esw_stats) { in qlcnic_get_port_stats() argument
1069 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 …]
Dqlcnic_ethtool.c1278 struct __qlcnic_esw_statistics *esw_stats = in qlcnic_fill_stats() local
1280 *data++ = QLCNIC_FILL_STATS(esw_stats->unicast_frames); in qlcnic_fill_stats()
1281 *data++ = QLCNIC_FILL_STATS(esw_stats->multicast_frames); in qlcnic_fill_stats()
1282 *data++ = QLCNIC_FILL_STATS(esw_stats->broadcast_frames); in qlcnic_fill_stats()
1283 *data++ = QLCNIC_FILL_STATS(esw_stats->dropped_frames); in qlcnic_fill_stats()
1284 *data++ = QLCNIC_FILL_STATS(esw_stats->errors); in qlcnic_fill_stats()
1285 *data++ = QLCNIC_FILL_STATS(esw_stats->local_frames); in qlcnic_fill_stats()
1286 *data++ = QLCNIC_FILL_STATS(esw_stats->numbytes); in qlcnic_fill_stats()
Dqlcnic_sysfs.c818 struct qlcnic_esw_statistics esw_stats; in qlcnic_sysfs_get_esw_stats() local
830 memset(&esw_stats, 0, size); in qlcnic_sysfs_get_esw_stats()
832 &esw_stats.rx); in qlcnic_sysfs_get_esw_stats()
837 &esw_stats.tx); in qlcnic_sysfs_get_esw_stats()
841 memcpy(buf, &esw_stats, size); in qlcnic_sysfs_get_esw_stats()