Lines Matching refs:pstats
770 struct xlgmac_stats *pstats = &pdata->stats; in xlgmac_get_stats64() local
774 s->rx_packets = pstats->rxframecount_gb; in xlgmac_get_stats64()
775 s->rx_bytes = pstats->rxoctetcount_gb; in xlgmac_get_stats64()
776 s->rx_errors = pstats->rxframecount_gb - in xlgmac_get_stats64()
777 pstats->rxbroadcastframes_g - in xlgmac_get_stats64()
778 pstats->rxmulticastframes_g - in xlgmac_get_stats64()
779 pstats->rxunicastframes_g; in xlgmac_get_stats64()
780 s->multicast = pstats->rxmulticastframes_g; in xlgmac_get_stats64()
781 s->rx_length_errors = pstats->rxlengtherror; in xlgmac_get_stats64()
782 s->rx_crc_errors = pstats->rxcrcerror; in xlgmac_get_stats64()
783 s->rx_fifo_errors = pstats->rxfifooverflow; in xlgmac_get_stats64()
785 s->tx_packets = pstats->txframecount_gb; in xlgmac_get_stats64()
786 s->tx_bytes = pstats->txoctetcount_gb; in xlgmac_get_stats64()
787 s->tx_errors = pstats->txframecount_gb - pstats->txframecount_g; in xlgmac_get_stats64()