Lines Matching refs:tmp_stats
6224 u64 *tmp_stats) in s2io_get_ethtool_stats() argument
6233 tmp_stats[i++] = in s2io_get_ethtool_stats()
6236 tmp_stats[i++] = in s2io_get_ethtool_stats()
6239 tmp_stats[i++] = le64_to_cpu(stats->tmac_drop_frms); in s2io_get_ethtool_stats()
6240 tmp_stats[i++] = in s2io_get_ethtool_stats()
6243 tmp_stats[i++] = in s2io_get_ethtool_stats()
6246 tmp_stats[i++] = le64_to_cpu(stats->tmac_pause_ctrl_frms); in s2io_get_ethtool_stats()
6247 tmp_stats[i++] = in s2io_get_ethtool_stats()
6250 tmp_stats[i++] = in s2io_get_ethtool_stats()
6253 tmp_stats[i++] = in s2io_get_ethtool_stats()
6256 tmp_stats[i++] = in s2io_get_ethtool_stats()
6259 tmp_stats[i++] = le64_to_cpu(stats->tmac_ttl_less_fb_octets); in s2io_get_ethtool_stats()
6260 tmp_stats[i++] = le64_to_cpu(stats->tmac_vld_ip_octets); in s2io_get_ethtool_stats()
6261 tmp_stats[i++] = in s2io_get_ethtool_stats()
6264 tmp_stats[i++] = in s2io_get_ethtool_stats()
6267 tmp_stats[i++] = in s2io_get_ethtool_stats()
6270 tmp_stats[i++] = in s2io_get_ethtool_stats()
6273 tmp_stats[i++] = le64_to_cpu(stats->tmac_tcp); in s2io_get_ethtool_stats()
6274 tmp_stats[i++] = (u64)le32_to_cpu(stats->tmac_udp_oflow) << 32 | in s2io_get_ethtool_stats()
6276 tmp_stats[i++] = in s2io_get_ethtool_stats()
6279 tmp_stats[i++] = in s2io_get_ethtool_stats()
6282 tmp_stats[i++] = le64_to_cpu(stats->rmac_fcs_err_frms); in s2io_get_ethtool_stats()
6283 tmp_stats[i++] = le64_to_cpu(stats->rmac_drop_frms); in s2io_get_ethtool_stats()
6284 tmp_stats[i++] = in s2io_get_ethtool_stats()
6287 tmp_stats[i++] = in s2io_get_ethtool_stats()
6290 tmp_stats[i++] = le32_to_cpu(stats->rmac_in_rng_len_err_frms); in s2io_get_ethtool_stats()
6291 tmp_stats[i++] = le32_to_cpu(stats->rmac_out_rng_len_err_frms); in s2io_get_ethtool_stats()
6292 tmp_stats[i++] = le64_to_cpu(stats->rmac_long_frms); in s2io_get_ethtool_stats()
6293 tmp_stats[i++] = le64_to_cpu(stats->rmac_pause_ctrl_frms); in s2io_get_ethtool_stats()
6294 tmp_stats[i++] = le64_to_cpu(stats->rmac_unsup_ctrl_frms); in s2io_get_ethtool_stats()
6295 tmp_stats[i++] = in s2io_get_ethtool_stats()
6298 tmp_stats[i++] = in s2io_get_ethtool_stats()
6301 tmp_stats[i++] = in s2io_get_ethtool_stats()
6304 tmp_stats[i++] = in s2io_get_ethtool_stats()
6307 tmp_stats[i++] = in s2io_get_ethtool_stats()
6310 tmp_stats[i++] = le64_to_cpu(stats->rmac_ttl_less_fb_octets); in s2io_get_ethtool_stats()
6311 tmp_stats[i++] = le64_to_cpu(stats->rmac_ttl_frms); in s2io_get_ethtool_stats()
6312 tmp_stats[i++] = in s2io_get_ethtool_stats()
6315 tmp_stats[i++] = in s2io_get_ethtool_stats()
6318 tmp_stats[i++] = in s2io_get_ethtool_stats()
6321 tmp_stats[i++] = in s2io_get_ethtool_stats()
6324 tmp_stats[i++] = le64_to_cpu(stats->rmac_ttl_64_frms); in s2io_get_ethtool_stats()
6325 tmp_stats[i++] = le64_to_cpu(stats->rmac_ttl_65_127_frms); in s2io_get_ethtool_stats()
6326 tmp_stats[i++] = le64_to_cpu(stats->rmac_ttl_128_255_frms); in s2io_get_ethtool_stats()
6327 tmp_stats[i++] = le64_to_cpu(stats->rmac_ttl_256_511_frms); in s2io_get_ethtool_stats()
6328 tmp_stats[i++] = le64_to_cpu(stats->rmac_ttl_512_1023_frms); in s2io_get_ethtool_stats()
6329 tmp_stats[i++] = le64_to_cpu(stats->rmac_ttl_1024_1518_frms); in s2io_get_ethtool_stats()
6330 tmp_stats[i++] = in s2io_get_ethtool_stats()
6333 tmp_stats[i++] = le64_to_cpu(stats->rmac_ip_octets); in s2io_get_ethtool_stats()
6334 tmp_stats[i++] = le32_to_cpu(stats->rmac_hdr_err_ip); in s2io_get_ethtool_stats()
6335 tmp_stats[i++] = in s2io_get_ethtool_stats()
6338 tmp_stats[i++] = in s2io_get_ethtool_stats()
6341 tmp_stats[i++] = le64_to_cpu(stats->rmac_tcp); in s2io_get_ethtool_stats()
6342 tmp_stats[i++] = in s2io_get_ethtool_stats()
6345 tmp_stats[i++] = in s2io_get_ethtool_stats()
6348 tmp_stats[i++] = le64_to_cpu(stats->rmac_xgmii_err_sym); in s2io_get_ethtool_stats()
6349 tmp_stats[i++] = le64_to_cpu(stats->rmac_frms_q0); in s2io_get_ethtool_stats()
6350 tmp_stats[i++] = le64_to_cpu(stats->rmac_frms_q1); in s2io_get_ethtool_stats()
6351 tmp_stats[i++] = le64_to_cpu(stats->rmac_frms_q2); in s2io_get_ethtool_stats()
6352 tmp_stats[i++] = le64_to_cpu(stats->rmac_frms_q3); in s2io_get_ethtool_stats()
6353 tmp_stats[i++] = le64_to_cpu(stats->rmac_frms_q4); in s2io_get_ethtool_stats()
6354 tmp_stats[i++] = le64_to_cpu(stats->rmac_frms_q5); in s2io_get_ethtool_stats()
6355 tmp_stats[i++] = le64_to_cpu(stats->rmac_frms_q6); in s2io_get_ethtool_stats()
6356 tmp_stats[i++] = le64_to_cpu(stats->rmac_frms_q7); in s2io_get_ethtool_stats()
6357 tmp_stats[i++] = le16_to_cpu(stats->rmac_full_q0); in s2io_get_ethtool_stats()
6358 tmp_stats[i++] = le16_to_cpu(stats->rmac_full_q1); in s2io_get_ethtool_stats()
6359 tmp_stats[i++] = le16_to_cpu(stats->rmac_full_q2); in s2io_get_ethtool_stats()
6360 tmp_stats[i++] = le16_to_cpu(stats->rmac_full_q3); in s2io_get_ethtool_stats()
6361 tmp_stats[i++] = le16_to_cpu(stats->rmac_full_q4); in s2io_get_ethtool_stats()
6362 tmp_stats[i++] = le16_to_cpu(stats->rmac_full_q5); in s2io_get_ethtool_stats()
6363 tmp_stats[i++] = le16_to_cpu(stats->rmac_full_q6); in s2io_get_ethtool_stats()
6364 tmp_stats[i++] = le16_to_cpu(stats->rmac_full_q7); in s2io_get_ethtool_stats()
6365 tmp_stats[i++] = in s2io_get_ethtool_stats()
6368 tmp_stats[i++] = le64_to_cpu(stats->rmac_xgmii_data_err_cnt); in s2io_get_ethtool_stats()
6369 tmp_stats[i++] = le64_to_cpu(stats->rmac_xgmii_ctrl_err_cnt); in s2io_get_ethtool_stats()
6370 tmp_stats[i++] = in s2io_get_ethtool_stats()
6373 tmp_stats[i++] = le32_to_cpu(stats->rmac_err_tcp); in s2io_get_ethtool_stats()
6374 tmp_stats[i++] = le32_to_cpu(stats->rd_req_cnt); in s2io_get_ethtool_stats()
6375 tmp_stats[i++] = le32_to_cpu(stats->new_rd_req_cnt); in s2io_get_ethtool_stats()
6376 tmp_stats[i++] = le32_to_cpu(stats->new_rd_req_rtry_cnt); in s2io_get_ethtool_stats()
6377 tmp_stats[i++] = le32_to_cpu(stats->rd_rtry_cnt); in s2io_get_ethtool_stats()
6378 tmp_stats[i++] = le32_to_cpu(stats->wr_rtry_rd_ack_cnt); in s2io_get_ethtool_stats()
6379 tmp_stats[i++] = le32_to_cpu(stats->wr_req_cnt); in s2io_get_ethtool_stats()
6380 tmp_stats[i++] = le32_to_cpu(stats->new_wr_req_cnt); in s2io_get_ethtool_stats()
6381 tmp_stats[i++] = le32_to_cpu(stats->new_wr_req_rtry_cnt); in s2io_get_ethtool_stats()
6382 tmp_stats[i++] = le32_to_cpu(stats->wr_rtry_cnt); in s2io_get_ethtool_stats()
6383 tmp_stats[i++] = le32_to_cpu(stats->wr_disc_cnt); in s2io_get_ethtool_stats()
6384 tmp_stats[i++] = le32_to_cpu(stats->rd_rtry_wr_ack_cnt); in s2io_get_ethtool_stats()
6385 tmp_stats[i++] = le32_to_cpu(stats->txp_wr_cnt); in s2io_get_ethtool_stats()
6386 tmp_stats[i++] = le32_to_cpu(stats->txd_rd_cnt); in s2io_get_ethtool_stats()
6387 tmp_stats[i++] = le32_to_cpu(stats->txd_wr_cnt); in s2io_get_ethtool_stats()
6388 tmp_stats[i++] = le32_to_cpu(stats->rxd_rd_cnt); in s2io_get_ethtool_stats()
6389 tmp_stats[i++] = le32_to_cpu(stats->rxd_wr_cnt); in s2io_get_ethtool_stats()
6390 tmp_stats[i++] = le32_to_cpu(stats->txf_rd_cnt); in s2io_get_ethtool_stats()
6391 tmp_stats[i++] = le32_to_cpu(stats->rxf_wr_cnt); in s2io_get_ethtool_stats()
6395 tmp_stats[i++] = in s2io_get_ethtool_stats()
6397 tmp_stats[i++] = in s2io_get_ethtool_stats()
6399 tmp_stats[i++] = in s2io_get_ethtool_stats()
6401 tmp_stats[i++] = le64_to_cpu(stats->rmac_ttl_gt_max_frms); in s2io_get_ethtool_stats()
6402 tmp_stats[i++] = le64_to_cpu(stats->rmac_osized_alt_frms); in s2io_get_ethtool_stats()
6403 tmp_stats[i++] = le64_to_cpu(stats->rmac_jabber_alt_frms); in s2io_get_ethtool_stats()
6404 tmp_stats[i++] = le64_to_cpu(stats->rmac_gt_max_alt_frms); in s2io_get_ethtool_stats()
6405 tmp_stats[i++] = le64_to_cpu(stats->rmac_vlan_frms); in s2io_get_ethtool_stats()
6406 tmp_stats[i++] = le32_to_cpu(stats->rmac_len_discard); in s2io_get_ethtool_stats()
6407 tmp_stats[i++] = le32_to_cpu(stats->rmac_fcs_discard); in s2io_get_ethtool_stats()
6408 tmp_stats[i++] = le32_to_cpu(stats->rmac_pf_discard); in s2io_get_ethtool_stats()
6409 tmp_stats[i++] = le32_to_cpu(stats->rmac_da_discard); in s2io_get_ethtool_stats()
6410 tmp_stats[i++] = le32_to_cpu(stats->rmac_red_discard); in s2io_get_ethtool_stats()
6411 tmp_stats[i++] = le32_to_cpu(stats->rmac_rts_discard); in s2io_get_ethtool_stats()
6412 tmp_stats[i++] = le32_to_cpu(stats->rmac_ingm_full_discard); in s2io_get_ethtool_stats()
6413 tmp_stats[i++] = le32_to_cpu(stats->link_fault_cnt); in s2io_get_ethtool_stats()
6416 tmp_stats[i++] = 0; in s2io_get_ethtool_stats()
6417 tmp_stats[i++] = swstats->single_ecc_errs; in s2io_get_ethtool_stats()
6418 tmp_stats[i++] = swstats->double_ecc_errs; in s2io_get_ethtool_stats()
6419 tmp_stats[i++] = swstats->parity_err_cnt; in s2io_get_ethtool_stats()
6420 tmp_stats[i++] = swstats->serious_err_cnt; in s2io_get_ethtool_stats()
6421 tmp_stats[i++] = swstats->soft_reset_cnt; in s2io_get_ethtool_stats()
6422 tmp_stats[i++] = swstats->fifo_full_cnt; in s2io_get_ethtool_stats()
6424 tmp_stats[i++] = swstats->ring_full_cnt[k]; in s2io_get_ethtool_stats()
6425 tmp_stats[i++] = xstats->alarm_transceiver_temp_high; in s2io_get_ethtool_stats()
6426 tmp_stats[i++] = xstats->alarm_transceiver_temp_low; in s2io_get_ethtool_stats()
6427 tmp_stats[i++] = xstats->alarm_laser_bias_current_high; in s2io_get_ethtool_stats()
6428 tmp_stats[i++] = xstats->alarm_laser_bias_current_low; in s2io_get_ethtool_stats()
6429 tmp_stats[i++] = xstats->alarm_laser_output_power_high; in s2io_get_ethtool_stats()
6430 tmp_stats[i++] = xstats->alarm_laser_output_power_low; in s2io_get_ethtool_stats()
6431 tmp_stats[i++] = xstats->warn_transceiver_temp_high; in s2io_get_ethtool_stats()
6432 tmp_stats[i++] = xstats->warn_transceiver_temp_low; in s2io_get_ethtool_stats()
6433 tmp_stats[i++] = xstats->warn_laser_bias_current_high; in s2io_get_ethtool_stats()
6434 tmp_stats[i++] = xstats->warn_laser_bias_current_low; in s2io_get_ethtool_stats()
6435 tmp_stats[i++] = xstats->warn_laser_output_power_high; in s2io_get_ethtool_stats()
6436 tmp_stats[i++] = xstats->warn_laser_output_power_low; in s2io_get_ethtool_stats()
6437 tmp_stats[i++] = swstats->clubbed_frms_cnt; in s2io_get_ethtool_stats()
6438 tmp_stats[i++] = swstats->sending_both; in s2io_get_ethtool_stats()
6439 tmp_stats[i++] = swstats->outof_sequence_pkts; in s2io_get_ethtool_stats()
6440 tmp_stats[i++] = swstats->flush_max_pkts; in s2io_get_ethtool_stats()
6452 tmp_stats[i++] = count; in s2io_get_ethtool_stats()
6454 tmp_stats[i++] = 0; in s2io_get_ethtool_stats()
6455 tmp_stats[i++] = swstats->mem_alloc_fail_cnt; in s2io_get_ethtool_stats()
6456 tmp_stats[i++] = swstats->pci_map_fail_cnt; in s2io_get_ethtool_stats()
6457 tmp_stats[i++] = swstats->watchdog_timer_cnt; in s2io_get_ethtool_stats()
6458 tmp_stats[i++] = swstats->mem_allocated; in s2io_get_ethtool_stats()
6459 tmp_stats[i++] = swstats->mem_freed; in s2io_get_ethtool_stats()
6460 tmp_stats[i++] = swstats->link_up_cnt; in s2io_get_ethtool_stats()
6461 tmp_stats[i++] = swstats->link_down_cnt; in s2io_get_ethtool_stats()
6462 tmp_stats[i++] = swstats->link_up_time; in s2io_get_ethtool_stats()
6463 tmp_stats[i++] = swstats->link_down_time; in s2io_get_ethtool_stats()
6465 tmp_stats[i++] = swstats->tx_buf_abort_cnt; in s2io_get_ethtool_stats()
6466 tmp_stats[i++] = swstats->tx_desc_abort_cnt; in s2io_get_ethtool_stats()
6467 tmp_stats[i++] = swstats->tx_parity_err_cnt; in s2io_get_ethtool_stats()
6468 tmp_stats[i++] = swstats->tx_link_loss_cnt; in s2io_get_ethtool_stats()
6469 tmp_stats[i++] = swstats->tx_list_proc_err_cnt; in s2io_get_ethtool_stats()
6471 tmp_stats[i++] = swstats->rx_parity_err_cnt; in s2io_get_ethtool_stats()
6472 tmp_stats[i++] = swstats->rx_abort_cnt; in s2io_get_ethtool_stats()
6473 tmp_stats[i++] = swstats->rx_parity_abort_cnt; in s2io_get_ethtool_stats()
6474 tmp_stats[i++] = swstats->rx_rda_fail_cnt; in s2io_get_ethtool_stats()
6475 tmp_stats[i++] = swstats->rx_unkn_prot_cnt; in s2io_get_ethtool_stats()
6476 tmp_stats[i++] = swstats->rx_fcs_err_cnt; in s2io_get_ethtool_stats()
6477 tmp_stats[i++] = swstats->rx_buf_size_err_cnt; in s2io_get_ethtool_stats()
6478 tmp_stats[i++] = swstats->rx_rxd_corrupt_cnt; in s2io_get_ethtool_stats()
6479 tmp_stats[i++] = swstats->rx_unkn_err_cnt; in s2io_get_ethtool_stats()
6480 tmp_stats[i++] = swstats->tda_err_cnt; in s2io_get_ethtool_stats()
6481 tmp_stats[i++] = swstats->pfc_err_cnt; in s2io_get_ethtool_stats()
6482 tmp_stats[i++] = swstats->pcc_err_cnt; in s2io_get_ethtool_stats()
6483 tmp_stats[i++] = swstats->tti_err_cnt; in s2io_get_ethtool_stats()
6484 tmp_stats[i++] = swstats->tpa_err_cnt; in s2io_get_ethtool_stats()
6485 tmp_stats[i++] = swstats->sm_err_cnt; in s2io_get_ethtool_stats()
6486 tmp_stats[i++] = swstats->lso_err_cnt; in s2io_get_ethtool_stats()
6487 tmp_stats[i++] = swstats->mac_tmac_err_cnt; in s2io_get_ethtool_stats()
6488 tmp_stats[i++] = swstats->mac_rmac_err_cnt; in s2io_get_ethtool_stats()
6489 tmp_stats[i++] = swstats->xgxs_txgxs_err_cnt; in s2io_get_ethtool_stats()
6490 tmp_stats[i++] = swstats->xgxs_rxgxs_err_cnt; in s2io_get_ethtool_stats()
6491 tmp_stats[i++] = swstats->rc_err_cnt; in s2io_get_ethtool_stats()
6492 tmp_stats[i++] = swstats->prc_pcix_err_cnt; in s2io_get_ethtool_stats()
6493 tmp_stats[i++] = swstats->rpa_err_cnt; in s2io_get_ethtool_stats()
6494 tmp_stats[i++] = swstats->rda_err_cnt; in s2io_get_ethtool_stats()
6495 tmp_stats[i++] = swstats->rti_err_cnt; in s2io_get_ethtool_stats()
6496 tmp_stats[i++] = swstats->mc_err_cnt; in s2io_get_ethtool_stats()