Lines Matching refs:RX_STAT

713 #define RX_STAT(s) *data++ = be64_to_cpu(fp->stats[PORT_MAC_RX_##s])  in get_mac_stats()  macro
715 RX_STAT(etherStatsOctets); in get_mac_stats()
716 RX_STAT(etherStatsPkts); in get_mac_stats()
717 RX_STAT(VLANReceivedOK); in get_mac_stats()
718 RX_STAT(ifInUcastPkts); in get_mac_stats()
719 RX_STAT(ifInMulticastPkts); in get_mac_stats()
720 RX_STAT(ifInBroadcastPkts); in get_mac_stats()
721 RX_STAT(etherStatsDropEvents); in get_mac_stats()
722 RX_STAT(ifInErrors); in get_mac_stats()
723 RX_STAT(aAlignmentErrors); in get_mac_stats()
724 RX_STAT(CBFCPAUSEFramesReceived_0); in get_mac_stats()
725 RX_STAT(CBFCPAUSEFramesReceived_1); in get_mac_stats()
726 RX_STAT(CBFCPAUSEFramesReceived_2); in get_mac_stats()
727 RX_STAT(CBFCPAUSEFramesReceived_3); in get_mac_stats()
728 RX_STAT(CBFCPAUSEFramesReceived_4); in get_mac_stats()
729 RX_STAT(CBFCPAUSEFramesReceived_5); in get_mac_stats()
730 RX_STAT(CBFCPAUSEFramesReceived_6); in get_mac_stats()
731 RX_STAT(CBFCPAUSEFramesReceived_7); in get_mac_stats()
732 RX_STAT(CBFCPAUSEFramesReceived_8); in get_mac_stats()
733 RX_STAT(CBFCPAUSEFramesReceived_9); in get_mac_stats()
734 RX_STAT(CBFCPAUSEFramesReceived_10); in get_mac_stats()
735 RX_STAT(CBFCPAUSEFramesReceived_11); in get_mac_stats()
736 RX_STAT(CBFCPAUSEFramesReceived_12); in get_mac_stats()
737 RX_STAT(CBFCPAUSEFramesReceived_13); in get_mac_stats()
738 RX_STAT(CBFCPAUSEFramesReceived_14); in get_mac_stats()
739 RX_STAT(CBFCPAUSEFramesReceived_15); in get_mac_stats()
744 #undef RX_STAT in get_mac_stats()
840 #define RX_STAT(fp, s) be64_to_cpu((fp)->stats[PORT_MAC_RX_##s]) macro
856 stats->rx_pause_frames = RX_STAT(fp, aPAUSEMACCtrlFramesReceived); in fun_get_pause_stats()
868 stats->FramesReceivedOK = RX_STAT(fp, aFramesReceivedOK); in fun_get_802_3_stats()
869 stats->FrameCheckSequenceErrors = RX_STAT(fp, aFrameCheckSequenceErrors); in fun_get_802_3_stats()
871 stats->OctetsReceivedOK = RX_STAT(fp, OctetsReceivedOK); in fun_get_802_3_stats()
872 stats->InRangeLengthErrors = RX_STAT(fp, aInRangeLengthErrors); in fun_get_802_3_stats()
873 stats->FrameTooLongErrors = RX_STAT(fp, aFrameTooLongErrors); in fun_get_802_3_stats()
885 stats->MACControlFramesReceived = RX_STAT(fp, MACControlFramesReceived); in fun_get_802_3_ctrl_stats()
908 stats->undersize_pkts = RX_STAT(fp, etherStatsUndersizePkts); in fun_get_rmon_stats()
909 stats->oversize_pkts = RX_STAT(fp, etherStatsOversizePkts); in fun_get_rmon_stats()
910 stats->fragments = RX_STAT(fp, etherStatsFragments); in fun_get_rmon_stats()
911 stats->jabbers = RX_STAT(fp, etherStatsJabbers); in fun_get_rmon_stats()
913 stats->hist[0] = RX_STAT(fp, etherStatsPkts64Octets); in fun_get_rmon_stats()
914 stats->hist[1] = RX_STAT(fp, etherStatsPkts65to127Octets); in fun_get_rmon_stats()
915 stats->hist[2] = RX_STAT(fp, etherStatsPkts128to255Octets); in fun_get_rmon_stats()
916 stats->hist[3] = RX_STAT(fp, etherStatsPkts256to511Octets); in fun_get_rmon_stats()
917 stats->hist[4] = RX_STAT(fp, etherStatsPkts512to1023Octets); in fun_get_rmon_stats()
918 stats->hist[5] = RX_STAT(fp, etherStatsPkts1024to1518Octets); in fun_get_rmon_stats()
919 stats->hist[6] = RX_STAT(fp, etherStatsPkts1519toMaxOctets); in fun_get_rmon_stats()
944 #undef RX_STAT