Lines Matching refs:stats
878 struct e1000_hw_stats *stats = in eth_em_stats_get() local
884 stats->symerrs += E1000_READ_REG(hw,E1000_SYMERRS); in eth_em_stats_get()
885 stats->sec += E1000_READ_REG(hw, E1000_SEC); in eth_em_stats_get()
888 stats->crcerrs += E1000_READ_REG(hw, E1000_CRCERRS); in eth_em_stats_get()
889 stats->mpc += E1000_READ_REG(hw, E1000_MPC); in eth_em_stats_get()
890 stats->scc += E1000_READ_REG(hw, E1000_SCC); in eth_em_stats_get()
891 stats->ecol += E1000_READ_REG(hw, E1000_ECOL); in eth_em_stats_get()
893 stats->mcc += E1000_READ_REG(hw, E1000_MCC); in eth_em_stats_get()
894 stats->latecol += E1000_READ_REG(hw, E1000_LATECOL); in eth_em_stats_get()
895 stats->colc += E1000_READ_REG(hw, E1000_COLC); in eth_em_stats_get()
896 stats->dc += E1000_READ_REG(hw, E1000_DC); in eth_em_stats_get()
897 stats->rlec += E1000_READ_REG(hw, E1000_RLEC); in eth_em_stats_get()
898 stats->xonrxc += E1000_READ_REG(hw, E1000_XONRXC); in eth_em_stats_get()
899 stats->xontxc += E1000_READ_REG(hw, E1000_XONTXC); in eth_em_stats_get()
906 stats->xoffrxc += pause_frames; in eth_em_stats_get()
907 stats->xofftxc += E1000_READ_REG(hw, E1000_XOFFTXC); in eth_em_stats_get()
908 stats->fcruc += E1000_READ_REG(hw, E1000_FCRUC); in eth_em_stats_get()
909 stats->prc64 += E1000_READ_REG(hw, E1000_PRC64); in eth_em_stats_get()
910 stats->prc127 += E1000_READ_REG(hw, E1000_PRC127); in eth_em_stats_get()
911 stats->prc255 += E1000_READ_REG(hw, E1000_PRC255); in eth_em_stats_get()
912 stats->prc511 += E1000_READ_REG(hw, E1000_PRC511); in eth_em_stats_get()
913 stats->prc1023 += E1000_READ_REG(hw, E1000_PRC1023); in eth_em_stats_get()
914 stats->prc1522 += E1000_READ_REG(hw, E1000_PRC1522); in eth_em_stats_get()
915 stats->gprc += E1000_READ_REG(hw, E1000_GPRC); in eth_em_stats_get()
916 stats->bprc += E1000_READ_REG(hw, E1000_BPRC); in eth_em_stats_get()
917 stats->mprc += E1000_READ_REG(hw, E1000_MPRC); in eth_em_stats_get()
918 stats->gptc += E1000_READ_REG(hw, E1000_GPTC); in eth_em_stats_get()
925 stats->gorc += E1000_READ_REG(hw, E1000_GORCL); in eth_em_stats_get()
926 stats->gorc += ((uint64_t)E1000_READ_REG(hw, E1000_GORCH) << 32); in eth_em_stats_get()
927 stats->gotc += E1000_READ_REG(hw, E1000_GOTCL); in eth_em_stats_get()
928 stats->gotc += ((uint64_t)E1000_READ_REG(hw, E1000_GOTCH) << 32); in eth_em_stats_get()
930 stats->rnbc += E1000_READ_REG(hw, E1000_RNBC); in eth_em_stats_get()
931 stats->ruc += E1000_READ_REG(hw, E1000_RUC); in eth_em_stats_get()
932 stats->rfc += E1000_READ_REG(hw, E1000_RFC); in eth_em_stats_get()
933 stats->roc += E1000_READ_REG(hw, E1000_ROC); in eth_em_stats_get()
934 stats->rjc += E1000_READ_REG(hw, E1000_RJC); in eth_em_stats_get()
936 stats->tor += E1000_READ_REG(hw, E1000_TORH); in eth_em_stats_get()
937 stats->tot += E1000_READ_REG(hw, E1000_TOTH); in eth_em_stats_get()
939 stats->tpr += E1000_READ_REG(hw, E1000_TPR); in eth_em_stats_get()
940 stats->tpt += E1000_READ_REG(hw, E1000_TPT); in eth_em_stats_get()
941 stats->ptc64 += E1000_READ_REG(hw, E1000_PTC64); in eth_em_stats_get()
942 stats->ptc127 += E1000_READ_REG(hw, E1000_PTC127); in eth_em_stats_get()
943 stats->ptc255 += E1000_READ_REG(hw, E1000_PTC255); in eth_em_stats_get()
944 stats->ptc511 += E1000_READ_REG(hw, E1000_PTC511); in eth_em_stats_get()
945 stats->ptc1023 += E1000_READ_REG(hw, E1000_PTC1023); in eth_em_stats_get()
946 stats->ptc1522 += E1000_READ_REG(hw, E1000_PTC1522); in eth_em_stats_get()
947 stats->mptc += E1000_READ_REG(hw, E1000_MPTC); in eth_em_stats_get()
948 stats->bptc += E1000_READ_REG(hw, E1000_BPTC); in eth_em_stats_get()
953 stats->iac += E1000_READ_REG(hw, E1000_IAC); in eth_em_stats_get()
954 stats->icrxptc += E1000_READ_REG(hw, E1000_ICRXPTC); in eth_em_stats_get()
955 stats->icrxatc += E1000_READ_REG(hw, E1000_ICRXATC); in eth_em_stats_get()
956 stats->ictxptc += E1000_READ_REG(hw, E1000_ICTXPTC); in eth_em_stats_get()
957 stats->ictxatc += E1000_READ_REG(hw, E1000_ICTXATC); in eth_em_stats_get()
958 stats->ictxqec += E1000_READ_REG(hw, E1000_ICTXQEC); in eth_em_stats_get()
959 stats->ictxqmtc += E1000_READ_REG(hw, E1000_ICTXQMTC); in eth_em_stats_get()
960 stats->icrxdmtc += E1000_READ_REG(hw, E1000_ICRXDMTC); in eth_em_stats_get()
961 stats->icrxoc += E1000_READ_REG(hw, E1000_ICRXOC); in eth_em_stats_get()
965 stats->algnerrc += E1000_READ_REG(hw, E1000_ALGNERRC); in eth_em_stats_get()
966 stats->rxerrc += E1000_READ_REG(hw, E1000_RXERRC); in eth_em_stats_get()
967 stats->tncrs += E1000_READ_REG(hw, E1000_TNCRS); in eth_em_stats_get()
968 stats->cexterr += E1000_READ_REG(hw, E1000_CEXTERR); in eth_em_stats_get()
969 stats->tsctc += E1000_READ_REG(hw, E1000_TSCTC); in eth_em_stats_get()
970 stats->tsctfc += E1000_READ_REG(hw, E1000_TSCTFC); in eth_em_stats_get()
977 rte_stats->imissed = stats->mpc; in eth_em_stats_get()
978 rte_stats->ierrors = stats->crcerrs + in eth_em_stats_get()
979 stats->rlec + stats->ruc + stats->roc + in eth_em_stats_get()
980 stats->rxerrc + stats->algnerrc + stats->cexterr; in eth_em_stats_get()
983 rte_stats->oerrors = stats->ecol + stats->latecol; in eth_em_stats_get()
985 rte_stats->ipackets = stats->gprc; in eth_em_stats_get()
986 rte_stats->opackets = stats->gptc; in eth_em_stats_get()
987 rte_stats->ibytes = stats->gorc; in eth_em_stats_get()
988 rte_stats->obytes = stats->gotc; in eth_em_stats_get()