Searched refs:rte_stats (Results 1 – 8 of 8) sorted by relevance
638 rte_stats->imissed = imissed_stats->rpu_rx_drop_cnt + in hns3_stats_get()651 rte_stats->ierrors += rxq->err_stats.l2_errors + in hns3_stats_get()653 rte_stats->ibytes += rxq->basic_stats.bytes; in hns3_stats_get()665 rte_stats->obytes += txq->basic_stats.bytes; in hns3_stats_get()673 rte_stats->oerrors = hw->oerror_stats; in hns3_stats_get()680 rte_stats->ipackets = in hns3_stats_get()681 stats->rcb_rx_ring_pktnum_rcd > rte_stats->ierrors ? in hns3_stats_get()682 stats->rcb_rx_ring_pktnum_rcd - rte_stats->ierrors : 0; in hns3_stats_get()683 rte_stats->opackets = stats->rcb_tx_ring_pktnum_rcd - in hns3_stats_get()684 rte_stats->oerrors; in hns3_stats_get()[all …]
148 int hns3_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *rte_stats);
413 struct rte_dma_stats *rte_stats, uint32_t size) in cnxk_stats_get() argument420 if (size < sizeof(rte_stats)) in cnxk_stats_get()422 if (rte_stats == NULL) in cnxk_stats_get()425 *rte_stats = *stats; in cnxk_stats_get()
202 struct rte_eth_stats *rte_stats);1876 if (rte_stats == NULL) { in eth_igc_stats_get()1884 rte_stats->imissed = stats->mpc; in eth_igc_stats_get()1885 rte_stats->ierrors = stats->crcerrs + stats->rlec + in eth_igc_stats_get()1889 rte_stats->oerrors = stats->ecol + stats->latecol; in eth_igc_stats_get()1891 rte_stats->ipackets = stats->gprc; in eth_igc_stats_get()1892 rte_stats->opackets = stats->gptc; in eth_igc_stats_get()1893 rte_stats->ibytes = stats->gorc; in eth_igc_stats_get()1894 rte_stats->obytes = stats->gotc; in eth_igc_stats_get()1902 rte_stats->q_obytes[map_id] += queue_stats->pqgotc[i]; in eth_igc_stats_get()[all …]
45 struct rte_eth_stats *rte_stats);868 eth_em_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *rte_stats) in eth_em_stats_get() argument966 if (rte_stats == NULL) in eth_em_stats_get()970 rte_stats->imissed = stats->mpc; in eth_em_stats_get()971 rte_stats->ierrors = stats->crcerrs + stats->rlec + in eth_em_stats_get()975 rte_stats->oerrors = stats->ecol + stats->latecol; in eth_em_stats_get()977 rte_stats->ipackets = stats->gprc; in eth_em_stats_get()978 rte_stats->opackets = stats->gptc; in eth_em_stats_get()979 rte_stats->ibytes = stats->gorc; in eth_em_stats_get()980 rte_stats->obytes = stats->gotc; in eth_em_stats_get()
89 struct rte_eth_stats *rte_stats);165 struct rte_eth_stats *rte_stats);1808 if (rte_stats == NULL) in eth_igb_stats_get()1812 rte_stats->imissed = stats->mpc; in eth_igb_stats_get()1819 rte_stats->ipackets = stats->gprc; in eth_igb_stats_get()1820 rte_stats->opackets = stats->gptc; in eth_igb_stats_get()1821 rte_stats->ibytes = stats->gorc; in eth_igb_stats_get()1822 rte_stats->obytes = stats->gotc; in eth_igb_stats_get()2077 if (rte_stats == NULL) in eth_igbvf_stats_get()2081 rte_stats->ibytes = hw_stats->gorc; in eth_igbvf_stats_get()[all …]
535 struct rte_dma_stats *rte_stats, uint32_t size) in ioat_stats_get() argument539 if (size < sizeof(rte_stats)) in ioat_stats_get()541 if (rte_stats == NULL) in ioat_stats_get()544 *rte_stats = *stats; in ioat_stats_get()
884 struct rte_dma_stats *rte_stats, uint32_t size) in dpaa_qdma_stats_get() argument892 if (size < sizeof(rte_stats)) in dpaa_qdma_stats_get()894 if (rte_stats == NULL) in dpaa_qdma_stats_get()897 *rte_stats = *stats; in dpaa_qdma_stats_get()