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

/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_ctx.c1066 const u8 rx_tx, struct __qlcnic_esw_statistics *esw_stats) {
1076 if (esw_stats == NULL)
1106 esw_stats->context_id = le16_to_cpu(stats->context_id);
1107 esw_stats->version = le16_to_cpu(stats->version);
1108 esw_stats->size = le16_to_cpu(stats->size);
1109 esw_stats->multicast_frames =
1111 esw_stats->broadcast_frames =
1113 esw_stats->unicast_frames = le64_to_cpu(stats->unicast_frames);
1114 esw_stats->dropped_frames = le64_to_cpu(stats->dropped_frames);
1115 esw_stats
1065 qlcnic_get_port_stats(struct qlcnic_adapter *adapter, const u8 func, const u8 rx_tx, struct __qlcnic_esw_statistics *esw_stats) argument
1190 qlcnic_get_eswitch_stats(struct qlcnic_adapter *adapter, const u8 eswitch, const u8 rx_tx, struct __qlcnic_esw_statistics *esw_stats) argument
[all...]
H A Dqlcnic_ethtool.c1295 struct __qlcnic_esw_statistics *esw_stats = local
1297 *data++ = QLCNIC_FILL_STATS(esw_stats->unicast_frames);
1298 *data++ = QLCNIC_FILL_STATS(esw_stats->multicast_frames);
1299 *data++ = QLCNIC_FILL_STATS(esw_stats->broadcast_frames);
1300 *data++ = QLCNIC_FILL_STATS(esw_stats->dropped_frames);
1301 *data++ = QLCNIC_FILL_STATS(esw_stats->errors);
1302 *data++ = QLCNIC_FILL_STATS(esw_stats->local_frames);
1303 *data++ = QLCNIC_FILL_STATS(esw_stats->numbytes);
H A Dqlcnic_sysfs.c813 struct qlcnic_esw_statistics esw_stats; local
825 memset(&esw_stats, 0, size);
827 &esw_stats.rx);
832 &esw_stats.tx);
836 memcpy(buf, &esw_stats, size);
1231 .attr = { .name = "esw_stats", .mode = 0644 },

Completed in 148 milliseconds