Searched refs:esw_stats (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_ctx.c | 1066 const u8 rx_tx, struct __qlcnic_esw_statistics *esw_stats) { in qlcnic_get_port_stats() 1076 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 in qlcnic_get_port_stats() 1065 qlcnic_get_port_stats(struct qlcnic_adapter *adapter, const u8 func, const u8 rx_tx, struct __qlcnic_esw_statistics *esw_stats) qlcnic_get_port_stats() argument 1190 qlcnic_get_eswitch_stats(struct qlcnic_adapter *adapter, const u8 eswitch, const u8 rx_tx, struct __qlcnic_esw_statistics *esw_stats) qlcnic_get_eswitch_stats() argument [all...] |
H A D | qlcnic_ethtool.c | 1291 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 D | qlcnic_sysfs.c | 814 struct qlcnic_esw_statistics esw_stats; in qlcnic_sysfs_get_esw_stats() local 826 memset(&esw_stats, 0, size); in qlcnic_sysfs_get_esw_stats() 828 &esw_stats.rx); in qlcnic_sysfs_get_esw_stats() 833 &esw_stats.tx); in qlcnic_sysfs_get_esw_stats() 837 memcpy(buf, &esw_stats, size); in qlcnic_sysfs_get_esw_stats() 1232 .attr = { .name = "esw_stats", .mode = 0644 },
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_ctx.c | 1066 const u8 rx_tx, struct __qlcnic_esw_statistics *esw_stats) { in qlcnic_get_port_stats() 1076 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 in qlcnic_get_port_stats() 1065 qlcnic_get_port_stats(struct qlcnic_adapter *adapter, const u8 func, const u8 rx_tx, struct __qlcnic_esw_statistics *esw_stats) qlcnic_get_port_stats() argument 1190 qlcnic_get_eswitch_stats(struct qlcnic_adapter *adapter, const u8 eswitch, const u8 rx_tx, struct __qlcnic_esw_statistics *esw_stats) qlcnic_get_eswitch_stats() argument [all...] |
H A D | qlcnic_ethtool.c | 1295 struct __qlcnic_esw_statistics *esw_stats = in qlcnic_fill_stats() local 1297 *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()
|
H A D | qlcnic_sysfs.c | 813 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() 1231 .attr = { .name = "esw_stats", .mode = 0644 },
|
Completed in 13 milliseconds