• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7800-V1.0.2.28/package/qca-nss-gmac/src/ipq806x/

Lines Matching defs:gstat

562 				struct nss_gmac_stats *gstat)
566 gmacdev->nss_stats.rx_bytes += gstat->rx_bytes;
567 gmacdev->nss_stats.rx_packets += gstat->rx_packets;
568 gmacdev->nss_stats.rx_errors += gstat->rx_errors;
569 gmacdev->nss_stats.rx_receive_errors += gstat->rx_receive_errors;
570 gmacdev->nss_stats.rx_overflow_errors += gstat->rx_overflow_errors;
571 gmacdev->nss_stats.rx_descriptor_errors += gstat->rx_descriptor_errors;
573 gstat->rx_watchdog_timeout_errors;
574 gmacdev->nss_stats.rx_crc_errors += gstat->rx_crc_errors;
576 gstat->rx_late_collision_errors;
577 gmacdev->nss_stats.rx_dribble_bit_errors += gstat->rx_dribble_bit_errors;
578 gmacdev->nss_stats.rx_length_errors += gstat->rx_length_errors;
579 gmacdev->nss_stats.rx_ip_header_errors += gstat->rx_ip_header_errors;
580 gmacdev->nss_stats.rx_ip_payload_errors += gstat->rx_ip_payload_errors;
581 gmacdev->nss_stats.rx_no_buffer_errors += gstat->rx_no_buffer_errors;
583 gstat->rx_transport_csum_bypassed;
584 gmacdev->nss_stats.tx_bytes += gstat->tx_bytes;
585 gmacdev->nss_stats.tx_packets += gstat->tx_packets;
586 gmacdev->nss_stats.tx_collisions += gstat->tx_collisions;
587 gmacdev->nss_stats.tx_errors += gstat->tx_errors;
589 gstat->tx_jabber_timeout_errors;
591 gstat->tx_frame_flushed_errors;
593 gstat->tx_loss_of_carrier_errors;
594 gmacdev->nss_stats.tx_no_carrier_errors += gstat->tx_no_carrier_errors;
596 gstat->tx_late_collision_errors;
598 gstat->tx_excessive_collision_errors;
600 gstat->tx_excessive_deferral_errors;
601 gmacdev->nss_stats.tx_underflow_errors += gstat->tx_underflow_errors;
602 gmacdev->nss_stats.tx_ip_header_errors += gstat->tx_ip_header_errors;
603 gmacdev->nss_stats.tx_ip_payload_errors += gstat->tx_ip_payload_errors;
604 gmacdev->nss_stats.tx_dropped += gstat->tx_dropped;
605 gmacdev->nss_stats.hw_errs[0] += gstat->hw_errs[0];
606 gmacdev->nss_stats.hw_errs[1] += gstat->hw_errs[1];
607 gmacdev->nss_stats.hw_errs[2] += gstat->hw_errs[2];
608 gmacdev->nss_stats.hw_errs[3] += gstat->hw_errs[3];
609 gmacdev->nss_stats.hw_errs[4] += gstat->hw_errs[4];
610 gmacdev->nss_stats.hw_errs[5] += gstat->hw_errs[5];
611 gmacdev->nss_stats.hw_errs[6] += gstat->hw_errs[6];
612 gmacdev->nss_stats.hw_errs[7] += gstat->hw_errs[7];
613 gmacdev->nss_stats.hw_errs[8] += gstat->hw_errs[8];
614 gmacdev->nss_stats.hw_errs[9] += gstat->hw_errs[9];
615 gmacdev->nss_stats.rx_missed += gstat->rx_missed;
616 gmacdev->nss_stats.fifo_overflows += gstat->fifo_overflows;
617 gmacdev->nss_stats.rx_scatter_errors += gstat->rx_scatter_errors;
618 gmacdev->nss_stats.gmac_total_ticks += gstat->gmac_total_ticks;
619 gmacdev->nss_stats.gmac_worst_case_ticks += gstat->gmac_worst_case_ticks;
620 gmacdev->nss_stats.gmac_iterations += gstat->gmac_iterations;
637 struct nss_gmac_stats *gstat)
646 if (need_blink_wan_led && gmacdev->phy_base == 4 && (gstat->rx_bytes != 0 || gstat->tx_bytes != 0))
651 counter_tx += gstat->tx_bytes;
652 counter_rx += gstat->rx_bytes;
657 nss_gmac_copy_stats(gmacdev, gstat);
659 gmacdev->stats.rx_packets += gstat->rx_packets;
660 gmacdev->stats.rx_bytes += gstat->rx_bytes;
661 gmacdev->stats.rx_errors += gstat->rx_errors;
662 gmacdev->stats.rx_dropped += gstat->rx_errors;
663 gmacdev->stats.rx_length_errors += gstat->rx_length_errors;
664 gmacdev->stats.rx_over_errors += gstat->rx_overflow_errors;
665 gmacdev->stats.rx_crc_errors += gstat->rx_crc_errors;
666 gmacdev->stats.rx_frame_errors += gstat->rx_dribble_bit_errors;
667 gmacdev->stats.rx_fifo_errors += gstat->fifo_overflows;
668 gmacdev->stats.rx_missed_errors += gstat->rx_missed;
669 gmacdev->stats.collisions += gstat->tx_collisions
670 + gstat->rx_late_collision_errors;
671 gmacdev->stats.tx_packets += gstat->tx_packets;
672 gmacdev->stats.tx_bytes += gstat->tx_bytes;
673 gmacdev->stats.tx_errors += gstat->tx_errors;
674 gmacdev->stats.tx_dropped += gstat->tx_dropped;
675 gmacdev->stats.tx_carrier_errors += gstat->tx_loss_of_carrier_errors
676 + gstat->tx_no_carrier_errors;
677 gmacdev->stats.tx_fifo_errors += gstat->tx_underflow_errors;
678 gmacdev->stats.tx_window_errors += gstat->tx_late_collision_errors;