• Home
  • Raw
  • Download

Lines Matching refs:k

225 	int j, k;  in vxge_get_ethtool_stats()  local
291 for (k = 0; k < vdev->no_of_vpath; k++) { in vxge_get_ethtool_stats()
294 vpath = &vdev->vpaths[k]; in vxge_get_ethtool_stats()
368 for (k = 0; k < vdev->max_config_port; k++) { in vxge_get_ethtool_stats()
369 *ptr++ = xmac_stats->aggr_stats[k].tx_frms; in vxge_get_ethtool_stats()
370 *ptr++ = xmac_stats->aggr_stats[k].tx_data_octets; in vxge_get_ethtool_stats()
371 *ptr++ = xmac_stats->aggr_stats[k].tx_mcast_frms; in vxge_get_ethtool_stats()
372 *ptr++ = xmac_stats->aggr_stats[k].tx_bcast_frms; in vxge_get_ethtool_stats()
373 *ptr++ = xmac_stats->aggr_stats[k].tx_discarded_frms; in vxge_get_ethtool_stats()
374 *ptr++ = xmac_stats->aggr_stats[k].tx_errored_frms; in vxge_get_ethtool_stats()
375 *ptr++ = xmac_stats->aggr_stats[k].rx_frms; in vxge_get_ethtool_stats()
376 *ptr++ = xmac_stats->aggr_stats[k].rx_data_octets; in vxge_get_ethtool_stats()
377 *ptr++ = xmac_stats->aggr_stats[k].rx_mcast_frms; in vxge_get_ethtool_stats()
378 *ptr++ = xmac_stats->aggr_stats[k].rx_bcast_frms; in vxge_get_ethtool_stats()
379 *ptr++ = xmac_stats->aggr_stats[k].rx_discarded_frms; in vxge_get_ethtool_stats()
380 *ptr++ = xmac_stats->aggr_stats[k].rx_errored_frms; in vxge_get_ethtool_stats()
381 *ptr++ = xmac_stats->aggr_stats[k].rx_unknown_slow_proto_frms; in vxge_get_ethtool_stats()
384 for (k = 0; k < vdev->max_config_port; k++) { in vxge_get_ethtool_stats()
385 *ptr++ = xmac_stats->port_stats[k].tx_ttl_frms; in vxge_get_ethtool_stats()
386 *ptr++ = xmac_stats->port_stats[k].tx_ttl_octets; in vxge_get_ethtool_stats()
387 *ptr++ = xmac_stats->port_stats[k].tx_data_octets; in vxge_get_ethtool_stats()
388 *ptr++ = xmac_stats->port_stats[k].tx_mcast_frms; in vxge_get_ethtool_stats()
389 *ptr++ = xmac_stats->port_stats[k].tx_bcast_frms; in vxge_get_ethtool_stats()
390 *ptr++ = xmac_stats->port_stats[k].tx_ucast_frms; in vxge_get_ethtool_stats()
391 *ptr++ = xmac_stats->port_stats[k].tx_tagged_frms; in vxge_get_ethtool_stats()
392 *ptr++ = xmac_stats->port_stats[k].tx_vld_ip; in vxge_get_ethtool_stats()
393 *ptr++ = xmac_stats->port_stats[k].tx_vld_ip_octets; in vxge_get_ethtool_stats()
394 *ptr++ = xmac_stats->port_stats[k].tx_icmp; in vxge_get_ethtool_stats()
395 *ptr++ = xmac_stats->port_stats[k].tx_tcp; in vxge_get_ethtool_stats()
396 *ptr++ = xmac_stats->port_stats[k].tx_rst_tcp; in vxge_get_ethtool_stats()
397 *ptr++ = xmac_stats->port_stats[k].tx_udp; in vxge_get_ethtool_stats()
398 *ptr++ = xmac_stats->port_stats[k].tx_parse_error; in vxge_get_ethtool_stats()
399 *ptr++ = xmac_stats->port_stats[k].tx_unknown_protocol; in vxge_get_ethtool_stats()
400 *ptr++ = xmac_stats->port_stats[k].tx_pause_ctrl_frms; in vxge_get_ethtool_stats()
401 *ptr++ = xmac_stats->port_stats[k].tx_marker_pdu_frms; in vxge_get_ethtool_stats()
402 *ptr++ = xmac_stats->port_stats[k].tx_lacpdu_frms; in vxge_get_ethtool_stats()
403 *ptr++ = xmac_stats->port_stats[k].tx_drop_ip; in vxge_get_ethtool_stats()
404 *ptr++ = xmac_stats->port_stats[k].tx_marker_resp_pdu_frms; in vxge_get_ethtool_stats()
405 *ptr++ = xmac_stats->port_stats[k].tx_xgmii_char2_match; in vxge_get_ethtool_stats()
406 *ptr++ = xmac_stats->port_stats[k].tx_xgmii_char1_match; in vxge_get_ethtool_stats()
407 *ptr++ = xmac_stats->port_stats[k].tx_xgmii_column2_match; in vxge_get_ethtool_stats()
408 *ptr++ = xmac_stats->port_stats[k].tx_xgmii_column1_match; in vxge_get_ethtool_stats()
409 *ptr++ = xmac_stats->port_stats[k].tx_any_err_frms; in vxge_get_ethtool_stats()
410 *ptr++ = xmac_stats->port_stats[k].tx_drop_frms; in vxge_get_ethtool_stats()
411 *ptr++ = xmac_stats->port_stats[k].rx_ttl_frms; in vxge_get_ethtool_stats()
412 *ptr++ = xmac_stats->port_stats[k].rx_vld_frms; in vxge_get_ethtool_stats()
413 *ptr++ = xmac_stats->port_stats[k].rx_offload_frms; in vxge_get_ethtool_stats()
414 *ptr++ = xmac_stats->port_stats[k].rx_ttl_octets; in vxge_get_ethtool_stats()
415 *ptr++ = xmac_stats->port_stats[k].rx_data_octets; in vxge_get_ethtool_stats()
416 *ptr++ = xmac_stats->port_stats[k].rx_offload_octets; in vxge_get_ethtool_stats()
417 *ptr++ = xmac_stats->port_stats[k].rx_vld_mcast_frms; in vxge_get_ethtool_stats()
418 *ptr++ = xmac_stats->port_stats[k].rx_vld_bcast_frms; in vxge_get_ethtool_stats()
419 *ptr++ = xmac_stats->port_stats[k].rx_accepted_ucast_frms; in vxge_get_ethtool_stats()
420 *ptr++ = xmac_stats->port_stats[k].rx_accepted_nucast_frms; in vxge_get_ethtool_stats()
421 *ptr++ = xmac_stats->port_stats[k].rx_tagged_frms; in vxge_get_ethtool_stats()
422 *ptr++ = xmac_stats->port_stats[k].rx_long_frms; in vxge_get_ethtool_stats()
423 *ptr++ = xmac_stats->port_stats[k].rx_usized_frms; in vxge_get_ethtool_stats()
424 *ptr++ = xmac_stats->port_stats[k].rx_osized_frms; in vxge_get_ethtool_stats()
425 *ptr++ = xmac_stats->port_stats[k].rx_frag_frms; in vxge_get_ethtool_stats()
426 *ptr++ = xmac_stats->port_stats[k].rx_jabber_frms; in vxge_get_ethtool_stats()
427 *ptr++ = xmac_stats->port_stats[k].rx_ttl_64_frms; in vxge_get_ethtool_stats()
428 *ptr++ = xmac_stats->port_stats[k].rx_ttl_65_127_frms; in vxge_get_ethtool_stats()
429 *ptr++ = xmac_stats->port_stats[k].rx_ttl_128_255_frms; in vxge_get_ethtool_stats()
430 *ptr++ = xmac_stats->port_stats[k].rx_ttl_256_511_frms; in vxge_get_ethtool_stats()
431 *ptr++ = xmac_stats->port_stats[k].rx_ttl_512_1023_frms; in vxge_get_ethtool_stats()
432 *ptr++ = xmac_stats->port_stats[k].rx_ttl_1024_1518_frms; in vxge_get_ethtool_stats()
433 *ptr++ = xmac_stats->port_stats[k].rx_ttl_1519_4095_frms; in vxge_get_ethtool_stats()
434 *ptr++ = xmac_stats->port_stats[k].rx_ttl_4096_8191_frms; in vxge_get_ethtool_stats()
435 *ptr++ = xmac_stats->port_stats[k].rx_ttl_8192_max_frms; in vxge_get_ethtool_stats()
436 *ptr++ = xmac_stats->port_stats[k].rx_ttl_gt_max_frms; in vxge_get_ethtool_stats()
437 *ptr++ = xmac_stats->port_stats[k].rx_ip; in vxge_get_ethtool_stats()
438 *ptr++ = xmac_stats->port_stats[k].rx_accepted_ip; in vxge_get_ethtool_stats()
439 *ptr++ = xmac_stats->port_stats[k].rx_ip_octets; in vxge_get_ethtool_stats()
440 *ptr++ = xmac_stats->port_stats[k].rx_err_ip; in vxge_get_ethtool_stats()
441 *ptr++ = xmac_stats->port_stats[k].rx_icmp; in vxge_get_ethtool_stats()
442 *ptr++ = xmac_stats->port_stats[k].rx_tcp; in vxge_get_ethtool_stats()
443 *ptr++ = xmac_stats->port_stats[k].rx_udp; in vxge_get_ethtool_stats()
444 *ptr++ = xmac_stats->port_stats[k].rx_err_tcp; in vxge_get_ethtool_stats()
445 *ptr++ = xmac_stats->port_stats[k].rx_pause_count; in vxge_get_ethtool_stats()
446 *ptr++ = xmac_stats->port_stats[k].rx_pause_ctrl_frms; in vxge_get_ethtool_stats()
447 *ptr++ = xmac_stats->port_stats[k].rx_unsup_ctrl_frms; in vxge_get_ethtool_stats()
448 *ptr++ = xmac_stats->port_stats[k].rx_fcs_err_frms; in vxge_get_ethtool_stats()
449 *ptr++ = xmac_stats->port_stats[k].rx_in_rng_len_err_frms; in vxge_get_ethtool_stats()
450 *ptr++ = xmac_stats->port_stats[k].rx_out_rng_len_err_frms; in vxge_get_ethtool_stats()
451 *ptr++ = xmac_stats->port_stats[k].rx_drop_frms; in vxge_get_ethtool_stats()
452 *ptr++ = xmac_stats->port_stats[k].rx_discarded_frms; in vxge_get_ethtool_stats()
453 *ptr++ = xmac_stats->port_stats[k].rx_drop_ip; in vxge_get_ethtool_stats()
454 *ptr++ = xmac_stats->port_stats[k].rx_drop_udp; in vxge_get_ethtool_stats()
455 *ptr++ = xmac_stats->port_stats[k].rx_marker_pdu_frms; in vxge_get_ethtool_stats()
456 *ptr++ = xmac_stats->port_stats[k].rx_lacpdu_frms; in vxge_get_ethtool_stats()
457 *ptr++ = xmac_stats->port_stats[k].rx_unknown_pdu_frms; in vxge_get_ethtool_stats()
458 *ptr++ = xmac_stats->port_stats[k].rx_marker_resp_pdu_frms; in vxge_get_ethtool_stats()
459 *ptr++ = xmac_stats->port_stats[k].rx_fcs_discard; in vxge_get_ethtool_stats()
460 *ptr++ = xmac_stats->port_stats[k].rx_illegal_pdu_frms; in vxge_get_ethtool_stats()
461 *ptr++ = xmac_stats->port_stats[k].rx_switch_discard; in vxge_get_ethtool_stats()
462 *ptr++ = xmac_stats->port_stats[k].rx_len_discard; in vxge_get_ethtool_stats()
463 *ptr++ = xmac_stats->port_stats[k].rx_rpa_discard; in vxge_get_ethtool_stats()
464 *ptr++ = xmac_stats->port_stats[k].rx_l2_mgmt_discard; in vxge_get_ethtool_stats()
465 *ptr++ = xmac_stats->port_stats[k].rx_rts_discard; in vxge_get_ethtool_stats()
466 *ptr++ = xmac_stats->port_stats[k].rx_trash_discard; in vxge_get_ethtool_stats()
467 *ptr++ = xmac_stats->port_stats[k].rx_buff_full_discard; in vxge_get_ethtool_stats()
468 *ptr++ = xmac_stats->port_stats[k].rx_red_discard; in vxge_get_ethtool_stats()
469 *ptr++ = xmac_stats->port_stats[k].rx_xgmii_ctrl_err_cnt; in vxge_get_ethtool_stats()
470 *ptr++ = xmac_stats->port_stats[k].rx_xgmii_data_err_cnt; in vxge_get_ethtool_stats()
471 *ptr++ = xmac_stats->port_stats[k].rx_xgmii_char1_match; in vxge_get_ethtool_stats()
472 *ptr++ = xmac_stats->port_stats[k].rx_xgmii_err_sym; in vxge_get_ethtool_stats()
473 *ptr++ = xmac_stats->port_stats[k].rx_xgmii_column1_match; in vxge_get_ethtool_stats()
474 *ptr++ = xmac_stats->port_stats[k].rx_xgmii_char2_match; in vxge_get_ethtool_stats()
475 *ptr++ = xmac_stats->port_stats[k].rx_local_fault; in vxge_get_ethtool_stats()
476 *ptr++ = xmac_stats->port_stats[k].rx_xgmii_column2_match; in vxge_get_ethtool_stats()
477 *ptr++ = xmac_stats->port_stats[k].rx_jettison; in vxge_get_ethtool_stats()
478 *ptr++ = xmac_stats->port_stats[k].rx_remote_fault; in vxge_get_ethtool_stats()
482 for (k = 0; k < vdev->no_of_vpath; k++) { in vxge_get_ethtool_stats()
485 vpath = &vdev->vpaths[k]; in vxge_get_ethtool_stats()
526 for (k = 0; k < vdev->no_of_vpath; k++) { in vxge_get_ethtool_stats()
528 vpath = &vdev->vpaths[k]; in vxge_get_ethtool_stats()
571 for (k = 0; k < vdev->no_of_vpath; k++) { in vxge_get_ethtool_stats()
572 *ptr += vdev->vpaths[k].fifo.stats.tx_frms; in vxge_get_ethtool_stats()
573 *(ptr + 1) += vdev->vpaths[k].fifo.stats.tx_errors; in vxge_get_ethtool_stats()
574 *(ptr + 2) += vdev->vpaths[k].fifo.stats.tx_bytes; in vxge_get_ethtool_stats()
575 *(ptr + 3) += vdev->vpaths[k].fifo.stats.txd_not_free; in vxge_get_ethtool_stats()
576 *(ptr + 4) += vdev->vpaths[k].fifo.stats.txd_out_of_desc; in vxge_get_ethtool_stats()
577 *(ptr + 5) += vdev->vpaths[k].ring.stats.rx_frms; in vxge_get_ethtool_stats()
578 *(ptr + 6) += vdev->vpaths[k].ring.stats.rx_errors; in vxge_get_ethtool_stats()
579 *(ptr + 7) += vdev->vpaths[k].ring.stats.rx_bytes; in vxge_get_ethtool_stats()
580 *(ptr + 8) += vdev->vpaths[k].ring.stats.rx_mcast; in vxge_get_ethtool_stats()
581 *(ptr + 9) += vdev->vpaths[k].fifo.stats.pci_map_fail + in vxge_get_ethtool_stats()
582 vdev->vpaths[k].ring.stats.pci_map_fail; in vxge_get_ethtool_stats()
583 *(ptr + 10) += vdev->vpaths[k].ring.stats.skb_alloc_fail; in vxge_get_ethtool_stats()