Lines Matching refs:k

202 	int j, k;  in vxge_get_ethtool_stats()  local
268 for (k = 0; k < vdev->no_of_vpath; k++) { in vxge_get_ethtool_stats()
271 vpath = &vdev->vpaths[k]; in vxge_get_ethtool_stats()
345 for (k = 0; k < vdev->max_config_port; k++) { in vxge_get_ethtool_stats()
346 *ptr++ = xmac_stats->aggr_stats[k].tx_frms; in vxge_get_ethtool_stats()
347 *ptr++ = xmac_stats->aggr_stats[k].tx_data_octets; in vxge_get_ethtool_stats()
348 *ptr++ = xmac_stats->aggr_stats[k].tx_mcast_frms; in vxge_get_ethtool_stats()
349 *ptr++ = xmac_stats->aggr_stats[k].tx_bcast_frms; in vxge_get_ethtool_stats()
350 *ptr++ = xmac_stats->aggr_stats[k].tx_discarded_frms; in vxge_get_ethtool_stats()
351 *ptr++ = xmac_stats->aggr_stats[k].tx_errored_frms; in vxge_get_ethtool_stats()
352 *ptr++ = xmac_stats->aggr_stats[k].rx_frms; in vxge_get_ethtool_stats()
353 *ptr++ = xmac_stats->aggr_stats[k].rx_data_octets; in vxge_get_ethtool_stats()
354 *ptr++ = xmac_stats->aggr_stats[k].rx_mcast_frms; in vxge_get_ethtool_stats()
355 *ptr++ = xmac_stats->aggr_stats[k].rx_bcast_frms; in vxge_get_ethtool_stats()
356 *ptr++ = xmac_stats->aggr_stats[k].rx_discarded_frms; in vxge_get_ethtool_stats()
357 *ptr++ = xmac_stats->aggr_stats[k].rx_errored_frms; in vxge_get_ethtool_stats()
358 *ptr++ = xmac_stats->aggr_stats[k].rx_unknown_slow_proto_frms; in vxge_get_ethtool_stats()
361 for (k = 0; k < vdev->max_config_port; k++) { in vxge_get_ethtool_stats()
362 *ptr++ = xmac_stats->port_stats[k].tx_ttl_frms; in vxge_get_ethtool_stats()
363 *ptr++ = xmac_stats->port_stats[k].tx_ttl_octets; in vxge_get_ethtool_stats()
364 *ptr++ = xmac_stats->port_stats[k].tx_data_octets; in vxge_get_ethtool_stats()
365 *ptr++ = xmac_stats->port_stats[k].tx_mcast_frms; in vxge_get_ethtool_stats()
366 *ptr++ = xmac_stats->port_stats[k].tx_bcast_frms; in vxge_get_ethtool_stats()
367 *ptr++ = xmac_stats->port_stats[k].tx_ucast_frms; in vxge_get_ethtool_stats()
368 *ptr++ = xmac_stats->port_stats[k].tx_tagged_frms; in vxge_get_ethtool_stats()
369 *ptr++ = xmac_stats->port_stats[k].tx_vld_ip; in vxge_get_ethtool_stats()
370 *ptr++ = xmac_stats->port_stats[k].tx_vld_ip_octets; in vxge_get_ethtool_stats()
371 *ptr++ = xmac_stats->port_stats[k].tx_icmp; in vxge_get_ethtool_stats()
372 *ptr++ = xmac_stats->port_stats[k].tx_tcp; in vxge_get_ethtool_stats()
373 *ptr++ = xmac_stats->port_stats[k].tx_rst_tcp; in vxge_get_ethtool_stats()
374 *ptr++ = xmac_stats->port_stats[k].tx_udp; in vxge_get_ethtool_stats()
375 *ptr++ = xmac_stats->port_stats[k].tx_parse_error; in vxge_get_ethtool_stats()
376 *ptr++ = xmac_stats->port_stats[k].tx_unknown_protocol; in vxge_get_ethtool_stats()
377 *ptr++ = xmac_stats->port_stats[k].tx_pause_ctrl_frms; in vxge_get_ethtool_stats()
378 *ptr++ = xmac_stats->port_stats[k].tx_marker_pdu_frms; in vxge_get_ethtool_stats()
379 *ptr++ = xmac_stats->port_stats[k].tx_lacpdu_frms; in vxge_get_ethtool_stats()
380 *ptr++ = xmac_stats->port_stats[k].tx_drop_ip; in vxge_get_ethtool_stats()
381 *ptr++ = xmac_stats->port_stats[k].tx_marker_resp_pdu_frms; in vxge_get_ethtool_stats()
382 *ptr++ = xmac_stats->port_stats[k].tx_xgmii_char2_match; in vxge_get_ethtool_stats()
383 *ptr++ = xmac_stats->port_stats[k].tx_xgmii_char1_match; in vxge_get_ethtool_stats()
384 *ptr++ = xmac_stats->port_stats[k].tx_xgmii_column2_match; in vxge_get_ethtool_stats()
385 *ptr++ = xmac_stats->port_stats[k].tx_xgmii_column1_match; in vxge_get_ethtool_stats()
386 *ptr++ = xmac_stats->port_stats[k].tx_any_err_frms; in vxge_get_ethtool_stats()
387 *ptr++ = xmac_stats->port_stats[k].tx_drop_frms; in vxge_get_ethtool_stats()
388 *ptr++ = xmac_stats->port_stats[k].rx_ttl_frms; in vxge_get_ethtool_stats()
389 *ptr++ = xmac_stats->port_stats[k].rx_vld_frms; in vxge_get_ethtool_stats()
390 *ptr++ = xmac_stats->port_stats[k].rx_offload_frms; in vxge_get_ethtool_stats()
391 *ptr++ = xmac_stats->port_stats[k].rx_ttl_octets; in vxge_get_ethtool_stats()
392 *ptr++ = xmac_stats->port_stats[k].rx_data_octets; in vxge_get_ethtool_stats()
393 *ptr++ = xmac_stats->port_stats[k].rx_offload_octets; in vxge_get_ethtool_stats()
394 *ptr++ = xmac_stats->port_stats[k].rx_vld_mcast_frms; in vxge_get_ethtool_stats()
395 *ptr++ = xmac_stats->port_stats[k].rx_vld_bcast_frms; in vxge_get_ethtool_stats()
396 *ptr++ = xmac_stats->port_stats[k].rx_accepted_ucast_frms; in vxge_get_ethtool_stats()
397 *ptr++ = xmac_stats->port_stats[k].rx_accepted_nucast_frms; in vxge_get_ethtool_stats()
398 *ptr++ = xmac_stats->port_stats[k].rx_tagged_frms; in vxge_get_ethtool_stats()
399 *ptr++ = xmac_stats->port_stats[k].rx_long_frms; in vxge_get_ethtool_stats()
400 *ptr++ = xmac_stats->port_stats[k].rx_usized_frms; in vxge_get_ethtool_stats()
401 *ptr++ = xmac_stats->port_stats[k].rx_osized_frms; in vxge_get_ethtool_stats()
402 *ptr++ = xmac_stats->port_stats[k].rx_frag_frms; in vxge_get_ethtool_stats()
403 *ptr++ = xmac_stats->port_stats[k].rx_jabber_frms; in vxge_get_ethtool_stats()
404 *ptr++ = xmac_stats->port_stats[k].rx_ttl_64_frms; in vxge_get_ethtool_stats()
405 *ptr++ = xmac_stats->port_stats[k].rx_ttl_65_127_frms; in vxge_get_ethtool_stats()
406 *ptr++ = xmac_stats->port_stats[k].rx_ttl_128_255_frms; in vxge_get_ethtool_stats()
407 *ptr++ = xmac_stats->port_stats[k].rx_ttl_256_511_frms; in vxge_get_ethtool_stats()
408 *ptr++ = xmac_stats->port_stats[k].rx_ttl_512_1023_frms; in vxge_get_ethtool_stats()
409 *ptr++ = xmac_stats->port_stats[k].rx_ttl_1024_1518_frms; in vxge_get_ethtool_stats()
410 *ptr++ = xmac_stats->port_stats[k].rx_ttl_1519_4095_frms; in vxge_get_ethtool_stats()
411 *ptr++ = xmac_stats->port_stats[k].rx_ttl_4096_8191_frms; in vxge_get_ethtool_stats()
412 *ptr++ = xmac_stats->port_stats[k].rx_ttl_8192_max_frms; in vxge_get_ethtool_stats()
413 *ptr++ = xmac_stats->port_stats[k].rx_ttl_gt_max_frms; in vxge_get_ethtool_stats()
414 *ptr++ = xmac_stats->port_stats[k].rx_ip; in vxge_get_ethtool_stats()
415 *ptr++ = xmac_stats->port_stats[k].rx_accepted_ip; in vxge_get_ethtool_stats()
416 *ptr++ = xmac_stats->port_stats[k].rx_ip_octets; in vxge_get_ethtool_stats()
417 *ptr++ = xmac_stats->port_stats[k].rx_err_ip; in vxge_get_ethtool_stats()
418 *ptr++ = xmac_stats->port_stats[k].rx_icmp; in vxge_get_ethtool_stats()
419 *ptr++ = xmac_stats->port_stats[k].rx_tcp; in vxge_get_ethtool_stats()
420 *ptr++ = xmac_stats->port_stats[k].rx_udp; in vxge_get_ethtool_stats()
421 *ptr++ = xmac_stats->port_stats[k].rx_err_tcp; in vxge_get_ethtool_stats()
422 *ptr++ = xmac_stats->port_stats[k].rx_pause_count; in vxge_get_ethtool_stats()
423 *ptr++ = xmac_stats->port_stats[k].rx_pause_ctrl_frms; in vxge_get_ethtool_stats()
424 *ptr++ = xmac_stats->port_stats[k].rx_unsup_ctrl_frms; in vxge_get_ethtool_stats()
425 *ptr++ = xmac_stats->port_stats[k].rx_fcs_err_frms; in vxge_get_ethtool_stats()
426 *ptr++ = xmac_stats->port_stats[k].rx_in_rng_len_err_frms; in vxge_get_ethtool_stats()
427 *ptr++ = xmac_stats->port_stats[k].rx_out_rng_len_err_frms; in vxge_get_ethtool_stats()
428 *ptr++ = xmac_stats->port_stats[k].rx_drop_frms; in vxge_get_ethtool_stats()
429 *ptr++ = xmac_stats->port_stats[k].rx_discarded_frms; in vxge_get_ethtool_stats()
430 *ptr++ = xmac_stats->port_stats[k].rx_drop_ip; in vxge_get_ethtool_stats()
431 *ptr++ = xmac_stats->port_stats[k].rx_drop_udp; in vxge_get_ethtool_stats()
432 *ptr++ = xmac_stats->port_stats[k].rx_marker_pdu_frms; in vxge_get_ethtool_stats()
433 *ptr++ = xmac_stats->port_stats[k].rx_lacpdu_frms; in vxge_get_ethtool_stats()
434 *ptr++ = xmac_stats->port_stats[k].rx_unknown_pdu_frms; in vxge_get_ethtool_stats()
435 *ptr++ = xmac_stats->port_stats[k].rx_marker_resp_pdu_frms; in vxge_get_ethtool_stats()
436 *ptr++ = xmac_stats->port_stats[k].rx_fcs_discard; in vxge_get_ethtool_stats()
437 *ptr++ = xmac_stats->port_stats[k].rx_illegal_pdu_frms; in vxge_get_ethtool_stats()
438 *ptr++ = xmac_stats->port_stats[k].rx_switch_discard; in vxge_get_ethtool_stats()
439 *ptr++ = xmac_stats->port_stats[k].rx_len_discard; in vxge_get_ethtool_stats()
440 *ptr++ = xmac_stats->port_stats[k].rx_rpa_discard; in vxge_get_ethtool_stats()
441 *ptr++ = xmac_stats->port_stats[k].rx_l2_mgmt_discard; in vxge_get_ethtool_stats()
442 *ptr++ = xmac_stats->port_stats[k].rx_rts_discard; in vxge_get_ethtool_stats()
443 *ptr++ = xmac_stats->port_stats[k].rx_trash_discard; in vxge_get_ethtool_stats()
444 *ptr++ = xmac_stats->port_stats[k].rx_buff_full_discard; in vxge_get_ethtool_stats()
445 *ptr++ = xmac_stats->port_stats[k].rx_red_discard; in vxge_get_ethtool_stats()
446 *ptr++ = xmac_stats->port_stats[k].rx_xgmii_ctrl_err_cnt; in vxge_get_ethtool_stats()
447 *ptr++ = xmac_stats->port_stats[k].rx_xgmii_data_err_cnt; in vxge_get_ethtool_stats()
448 *ptr++ = xmac_stats->port_stats[k].rx_xgmii_char1_match; in vxge_get_ethtool_stats()
449 *ptr++ = xmac_stats->port_stats[k].rx_xgmii_err_sym; in vxge_get_ethtool_stats()
450 *ptr++ = xmac_stats->port_stats[k].rx_xgmii_column1_match; in vxge_get_ethtool_stats()
451 *ptr++ = xmac_stats->port_stats[k].rx_xgmii_char2_match; in vxge_get_ethtool_stats()
452 *ptr++ = xmac_stats->port_stats[k].rx_local_fault; in vxge_get_ethtool_stats()
453 *ptr++ = xmac_stats->port_stats[k].rx_xgmii_column2_match; in vxge_get_ethtool_stats()
454 *ptr++ = xmac_stats->port_stats[k].rx_jettison; in vxge_get_ethtool_stats()
455 *ptr++ = xmac_stats->port_stats[k].rx_remote_fault; in vxge_get_ethtool_stats()
459 for (k = 0; k < vdev->no_of_vpath; k++) { in vxge_get_ethtool_stats()
462 vpath = &vdev->vpaths[k]; in vxge_get_ethtool_stats()
503 for (k = 0; k < vdev->no_of_vpath; k++) { in vxge_get_ethtool_stats()
505 vpath = &vdev->vpaths[k]; in vxge_get_ethtool_stats()
548 for (k = 0; k < vdev->no_of_vpath; k++) { in vxge_get_ethtool_stats()
549 *ptr += vdev->vpaths[k].fifo.stats.tx_frms; in vxge_get_ethtool_stats()
550 *(ptr + 1) += vdev->vpaths[k].fifo.stats.tx_errors; in vxge_get_ethtool_stats()
551 *(ptr + 2) += vdev->vpaths[k].fifo.stats.tx_bytes; in vxge_get_ethtool_stats()
552 *(ptr + 3) += vdev->vpaths[k].fifo.stats.txd_not_free; in vxge_get_ethtool_stats()
553 *(ptr + 4) += vdev->vpaths[k].fifo.stats.txd_out_of_desc; in vxge_get_ethtool_stats()
554 *(ptr + 5) += vdev->vpaths[k].ring.stats.rx_frms; in vxge_get_ethtool_stats()
555 *(ptr + 6) += vdev->vpaths[k].ring.stats.rx_errors; in vxge_get_ethtool_stats()
556 *(ptr + 7) += vdev->vpaths[k].ring.stats.rx_bytes; in vxge_get_ethtool_stats()
557 *(ptr + 8) += vdev->vpaths[k].ring.stats.rx_mcast; in vxge_get_ethtool_stats()
558 *(ptr + 9) += vdev->vpaths[k].fifo.stats.pci_map_fail + in vxge_get_ethtool_stats()
559 vdev->vpaths[k].ring.stats.pci_map_fail; in vxge_get_ethtool_stats()
560 *(ptr + 10) += vdev->vpaths[k].ring.stats.skb_alloc_fail; in vxge_get_ethtool_stats()