Lines Matching full:k
425 int rc, i, k = 0; in sja1105_get_ethtool_stats() local
438 data[k++] = status->mac.n_runt; in sja1105_get_ethtool_stats()
439 data[k++] = status->mac.n_soferr; in sja1105_get_ethtool_stats()
440 data[k++] = status->mac.n_alignerr; in sja1105_get_ethtool_stats()
441 data[k++] = status->mac.n_miierr; in sja1105_get_ethtool_stats()
442 data[k++] = status->mac.typeerr; in sja1105_get_ethtool_stats()
443 data[k++] = status->mac.sizeerr; in sja1105_get_ethtool_stats()
444 data[k++] = status->mac.tctimeout; in sja1105_get_ethtool_stats()
445 data[k++] = status->mac.priorerr; in sja1105_get_ethtool_stats()
446 data[k++] = status->mac.nomaster; in sja1105_get_ethtool_stats()
447 data[k++] = status->mac.memov; in sja1105_get_ethtool_stats()
448 data[k++] = status->mac.memerr; in sja1105_get_ethtool_stats()
449 data[k++] = status->mac.invtyp; in sja1105_get_ethtool_stats()
450 data[k++] = status->mac.intcyov; in sja1105_get_ethtool_stats()
451 data[k++] = status->mac.domerr; in sja1105_get_ethtool_stats()
452 data[k++] = status->mac.pcfbagdrop; in sja1105_get_ethtool_stats()
453 data[k++] = status->mac.spcprior; in sja1105_get_ethtool_stats()
454 data[k++] = status->mac.ageprior; in sja1105_get_ethtool_stats()
455 data[k++] = status->mac.portdrop; in sja1105_get_ethtool_stats()
456 data[k++] = status->mac.lendrop; in sja1105_get_ethtool_stats()
457 data[k++] = status->mac.bagdrop; in sja1105_get_ethtool_stats()
458 data[k++] = status->mac.policeerr; in sja1105_get_ethtool_stats()
459 data[k++] = status->mac.drpnona664err; in sja1105_get_ethtool_stats()
460 data[k++] = status->mac.spcerr; in sja1105_get_ethtool_stats()
461 data[k++] = status->mac.agedrp; in sja1105_get_ethtool_stats()
462 data[k++] = status->hl1.n_n664err; in sja1105_get_ethtool_stats()
463 data[k++] = status->hl1.n_vlanerr; in sja1105_get_ethtool_stats()
464 data[k++] = status->hl1.n_unreleased; in sja1105_get_ethtool_stats()
465 data[k++] = status->hl1.n_sizeerr; in sja1105_get_ethtool_stats()
466 data[k++] = status->hl1.n_crcerr; in sja1105_get_ethtool_stats()
467 data[k++] = status->hl1.n_vlnotfound; in sja1105_get_ethtool_stats()
468 data[k++] = status->hl1.n_ctpolerr; in sja1105_get_ethtool_stats()
469 data[k++] = status->hl1.n_polerr; in sja1105_get_ethtool_stats()
470 data[k++] = status->hl1.n_rxfrm; in sja1105_get_ethtool_stats()
471 data[k++] = status->hl1.n_rxbyte; in sja1105_get_ethtool_stats()
472 data[k++] = status->hl1.n_txfrm; in sja1105_get_ethtool_stats()
473 data[k++] = status->hl1.n_txbyte; in sja1105_get_ethtool_stats()
474 data[k++] = status->hl2.n_qfull; in sja1105_get_ethtool_stats()
475 data[k++] = status->hl2.n_part_drop; in sja1105_get_ethtool_stats()
476 data[k++] = status->hl2.n_egr_disabled; in sja1105_get_ethtool_stats()
477 data[k++] = status->hl2.n_not_reach; in sja1105_get_ethtool_stats()
483 memset(data + k, 0, ARRAY_SIZE(sja1105pqrs_extra_port_stats) * in sja1105_get_ethtool_stats()
486 data[k++] = status->hl2.qlevel_hwm[i]; in sja1105_get_ethtool_stats()
487 data[k++] = status->hl2.qlevel[i]; in sja1105_get_ethtool_stats()
489 data[k++] = status->ether.n_drops_nolearn; in sja1105_get_ethtool_stats()
490 data[k++] = status->ether.n_drops_noroute; in sja1105_get_ethtool_stats()
491 data[k++] = status->ether.n_drops_ill_dtag; in sja1105_get_ethtool_stats()
492 data[k++] = status->ether.n_drops_dtag; in sja1105_get_ethtool_stats()
493 data[k++] = status->ether.n_drops_sotag; in sja1105_get_ethtool_stats()
494 data[k++] = status->ether.n_drops_sitag; in sja1105_get_ethtool_stats()
495 data[k++] = status->ether.n_drops_utag; in sja1105_get_ethtool_stats()
496 data[k++] = status->ether.n_tx_bytes_1024_2047; in sja1105_get_ethtool_stats()
497 data[k++] = status->ether.n_tx_bytes_512_1023; in sja1105_get_ethtool_stats()
498 data[k++] = status->ether.n_tx_bytes_256_511; in sja1105_get_ethtool_stats()
499 data[k++] = status->ether.n_tx_bytes_128_255; in sja1105_get_ethtool_stats()
500 data[k++] = status->ether.n_tx_bytes_65_127; in sja1105_get_ethtool_stats()
501 data[k++] = status->ether.n_tx_bytes_64; in sja1105_get_ethtool_stats()
502 data[k++] = status->ether.n_tx_mcast; in sja1105_get_ethtool_stats()
503 data[k++] = status->ether.n_tx_bcast; in sja1105_get_ethtool_stats()
504 data[k++] = status->ether.n_rx_bytes_1024_2047; in sja1105_get_ethtool_stats()
505 data[k++] = status->ether.n_rx_bytes_512_1023; in sja1105_get_ethtool_stats()
506 data[k++] = status->ether.n_rx_bytes_256_511; in sja1105_get_ethtool_stats()
507 data[k++] = status->ether.n_rx_bytes_128_255; in sja1105_get_ethtool_stats()
508 data[k++] = status->ether.n_rx_bytes_65_127; in sja1105_get_ethtool_stats()
509 data[k++] = status->ether.n_rx_bytes_64; in sja1105_get_ethtool_stats()
510 data[k++] = status->ether.n_rx_mcast; in sja1105_get_ethtool_stats()
511 data[k++] = status->ether.n_rx_bcast; in sja1105_get_ethtool_stats()