Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_ctx.c1076 if (esw_stats == NULL) 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()
1197 if (esw_stats == NULL) in qlcnic_get_eswitch_stats()
1204 memset(esw_stats, 0, sizeof(u64)); in qlcnic_get_eswitch_stats()
1209 esw_stats->errors = QLCNIC_STATS_NOT_AVAIL; in qlcnic_get_eswitch_stats()
1212 esw_stats->context_id = eswitch; in qlcnic_get_eswitch_stats()
1223 esw_stats->size = port_stats.size; in qlcnic_get_eswitch_stats()
1224 esw_stats->version = port_stats.version; in qlcnic_get_eswitch_stats()
1233 QLCNIC_ADD_ESW_STATS(esw_stats->errors, in qlcnic_get_eswitch_stats()
[all …]
H A Dqlcnic_ethtool.c1291 struct __qlcnic_esw_statistics *esw_stats = in qlcnic_fill_stats() local
1293 *data++ = QLCNIC_FILL_STATS(esw_stats->unicast_frames); in qlcnic_fill_stats()
1294 *data++ = QLCNIC_FILL_STATS(esw_stats->multicast_frames); in qlcnic_fill_stats()
1295 *data++ = QLCNIC_FILL_STATS(esw_stats->broadcast_frames); in qlcnic_fill_stats()
1296 *data++ = QLCNIC_FILL_STATS(esw_stats->dropped_frames); in qlcnic_fill_stats()
1297 *data++ = QLCNIC_FILL_STATS(esw_stats->errors); in qlcnic_fill_stats()
1298 *data++ = QLCNIC_FILL_STATS(esw_stats->local_frames); in qlcnic_fill_stats()
1299 *data++ = QLCNIC_FILL_STATS(esw_stats->numbytes); in qlcnic_fill_stats()
H A Dqlcnic_sysfs.c813 struct qlcnic_esw_statistics esw_stats; in qlcnic_sysfs_get_esw_stats() local
825 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()