Lines Matching refs:rte_stats
209 struct rte_eth_stats *rte_stats);
1875 eth_igc_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *rte_stats) in eth_igc_stats_get() argument
1893 if (rte_stats == NULL) { in eth_igc_stats_get()
1901 rte_stats->imissed = stats->mpc; in eth_igc_stats_get()
1902 rte_stats->ierrors = stats->crcerrs + in eth_igc_stats_get()
1907 rte_stats->oerrors = stats->ecol + stats->latecol; in eth_igc_stats_get()
1909 rte_stats->ipackets = stats->gprc; in eth_igc_stats_get()
1910 rte_stats->opackets = stats->gptc; in eth_igc_stats_get()
1911 rte_stats->ibytes = stats->gorc; in eth_igc_stats_get()
1912 rte_stats->obytes = stats->gotc; in eth_igc_stats_get()
1919 rte_stats->q_opackets[map_id] += queue_stats->pqgptc[i]; in eth_igc_stats_get()
1920 rte_stats->q_obytes[map_id] += queue_stats->pqgotc[i]; in eth_igc_stats_get()
1925 rte_stats->q_ipackets[map_id] += queue_stats->pqgprc[i]; in eth_igc_stats_get()
1926 rte_stats->q_ibytes[map_id] += queue_stats->pqgorc[i]; in eth_igc_stats_get()
1927 rte_stats->q_errors[map_id] += queue_stats->rqdpc[i]; in eth_igc_stats_get()