Lines Matching defs:host_stats
1069 struct iscsi_offload_host_stats *host_stats = NULL;
1082 ql4_printk(KERN_INFO, ha, "%s: host_stats size mismatch expected = %d, is = %d\n",
1087 host_stats = (struct iscsi_offload_host_stats *)buf;
1113 host_stats->mactx_frames = le64_to_cpu(ql_iscsi_stats->mac_tx_frames);
1114 host_stats->mactx_bytes = le64_to_cpu(ql_iscsi_stats->mac_tx_bytes);
1115 host_stats->mactx_multicast_frames =
1117 host_stats->mactx_broadcast_frames =
1119 host_stats->mactx_pause_frames =
1121 host_stats->mactx_control_frames =
1123 host_stats->mactx_deferral =
1125 host_stats->mactx_excess_deferral =
1127 host_stats->mactx_late_collision =
1129 host_stats->mactx_abort = le64_to_cpu(ql_iscsi_stats->mac_tx_abort);
1130 host_stats->mactx_single_collision =
1132 host_stats->mactx_multiple_collision =
1134 host_stats->mactx_collision =
1136 host_stats->mactx_frames_dropped =
1138 host_stats->mactx_jumbo_frames =
1140 host_stats->macrx_frames = le64_to_cpu(ql_iscsi_stats->mac_rx_frames);
1141 host_stats->macrx_bytes = le64_to_cpu(ql_iscsi_stats->mac_rx_bytes);
1142 host_stats->macrx_unknown_control_frames =
1144 host_stats->macrx_pause_frames =
1146 host_stats->macrx_control_frames =
1148 host_stats->macrx_dribble =
1150 host_stats->macrx_frame_length_error =
1152 host_stats->macrx_jabber = le64_to_cpu(ql_iscsi_stats->mac_rx_jabber);
1153 host_stats->macrx_carrier_sense_error =
1155 host_stats->macrx_frame_discarded =
1157 host_stats->macrx_frames_dropped =
1159 host_stats->mac_crc_error = le64_to_cpu(ql_iscsi_stats->mac_crc_error);
1160 host_stats->mac_encoding_error =
1162 host_stats->macrx_length_error_large =
1164 host_stats->macrx_length_error_small =
1166 host_stats->macrx_multicast_frames =
1168 host_stats->macrx_broadcast_frames =
1170 host_stats->iptx_packets = le64_to_cpu(ql_iscsi_stats->ip_tx_packets);
1171 host_stats->iptx_bytes = le64_to_cpu(ql_iscsi_stats->ip_tx_bytes);
1172 host_stats->iptx_fragments =
1174 host_stats->iprx_packets = le64_to_cpu(ql_iscsi_stats->ip_rx_packets);
1175 host_stats->iprx_bytes = le64_to_cpu(ql_iscsi_stats->ip_rx_bytes);
1176 host_stats->iprx_fragments =
1178 host_stats->ip_datagram_reassembly =
1180 host_stats->ip_invalid_address_error =
1182 host_stats->ip_error_packets =
1184 host_stats->ip_fragrx_overlap =
1186 host_stats->ip_fragrx_outoforder =
1188 host_stats->ip_datagram_reassembly_timeout =
1190 host_stats->ipv6tx_packets =
1192 host_stats->ipv6tx_bytes = le64_to_cpu(ql_iscsi_stats->ipv6_tx_bytes);
1193 host_stats->ipv6tx_fragments =
1195 host_stats->ipv6rx_packets =
1197 host_stats->ipv6rx_bytes = le64_to_cpu(ql_iscsi_stats->ipv6_rx_bytes);
1198 host_stats->ipv6rx_fragments =
1200 host_stats->ipv6_datagram_reassembly =
1202 host_stats->ipv6_invalid_address_error =
1204 host_stats->ipv6_error_packets =
1206 host_stats->ipv6_fragrx_overlap =
1208 host_stats->ipv6_fragrx_outoforder =
1210 host_stats->ipv6_datagram_reassembly_timeout =
1212 host_stats->tcptx_segments =
1214 host_stats->tcptx_bytes = le64_to_cpu(ql_iscsi_stats->tcp_tx_bytes);
1215 host_stats->tcprx_segments =
1217 host_stats->tcprx_byte = le64_to_cpu(ql_iscsi_stats->tcp_rx_byte);
1218 host_stats->tcp_duplicate_ack_retx =
1220 host_stats->tcp_retx_timer_expired =
1222 host_stats->tcprx_duplicate_ack =
1224 host_stats->tcprx_pure_ackr =
1226 host_stats->tcptx_delayed_ack =
1228 host_stats->tcptx_pure_ack =
1230 host_stats->tcprx_segment_error =
1232 host_stats->tcprx_segment_outoforder =
1234 host_stats->tcprx_window_probe =
1236 host_stats->tcprx_window_update =
1238 host_stats->tcptx_window_probe_persist =
1240 host_stats->ecc_error_correction =
1242 host_stats->iscsi_pdu_tx = le64_to_cpu(ql_iscsi_stats->iscsi_pdu_tx);
1243 host_stats->iscsi_data_bytes_tx =
1245 host_stats->iscsi_pdu_rx = le64_to_cpu(ql_iscsi_stats->iscsi_pdu_rx);
1246 host_stats->iscsi_data_bytes_rx =
1248 host_stats->iscsi_io_completed =
1250 host_stats->iscsi_unexpected_io_rx =
1252 host_stats->iscsi_format_error =
1254 host_stats->iscsi_hdr_digest_error =
1256 host_stats->iscsi_data_digest_error =
1258 host_stats->iscsi_sequence_error =