Home
last modified time | relevance | path

Searched refs:rte_stats (Results 1 – 8 of 8) sorted by relevance

/dpdk/drivers/net/hns3/
H A Dhns3_stats.c638 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 …]
H A Dhns3_stats.h148 int hns3_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *rte_stats);
/dpdk/drivers/dma/cnxk/
H A Dcnxk_dmadev.c413 struct rte_dma_stats *rte_stats, uint32_t size) in cnxk_stats_get() argument
420 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()
/dpdk/drivers/net/igc/
H A Digc_ethdev.c202 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 …]
/dpdk/drivers/net/e1000/
H A Dem_ethdev.c45 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() argument
966 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()
H A Digb_ethdev.c89 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 …]
/dpdk/drivers/dma/ioat/
H A Dioat_dmadev.c535 struct rte_dma_stats *rte_stats, uint32_t size) in ioat_stats_get() argument
539 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()
/dpdk/drivers/dma/dpaa/
H A Ddpaa_qdma.c884 struct rte_dma_stats *rte_stats, uint32_t size) in dpaa_qdma_stats_get() argument
892 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()