Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_stats.c498 hns3_stats_get(struct rte_eth_dev *eth_dev, struct rte_eth_stats *rte_stats) in hns3_stats_get() argument
523 rte_stats->q_errors[i] = cnt; in hns3_stats_get()
524 rte_stats->q_ipackets[i] = in hns3_stats_get()
526 rte_stats->ierrors += cnt; in hns3_stats_get()
534 rte_stats->q_opackets[i] = stats->rcb_tx_ring_pktnum[i]; in hns3_stats_get()
537 rte_stats->oerrors = 0; in hns3_stats_get()
538 rte_stats->ipackets = stats->rcb_rx_ring_pktnum_rcd - in hns3_stats_get()
539 rte_stats->ierrors; in hns3_stats_get()
540 rte_stats->opackets = stats->rcb_tx_ring_pktnum_rcd - in hns3_stats_get()
541 rte_stats->oerrors; in hns3_stats_get()
[all …]
H A Dhns3_stats.h135 int hns3_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *rte_stats);
/f-stack/dpdk/drivers/net/igc/
H A Digc_ethdev.c209 struct rte_eth_stats *rte_stats);
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()
1920 rte_stats->q_obytes[map_id] += queue_stats->pqgotc[i]; in eth_igc_stats_get()
[all …]
/f-stack/dpdk/drivers/net/e1000/
H A Dem_ethdev.c45 struct rte_eth_stats *rte_stats);
875 eth_em_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *rte_stats) in eth_em_stats_get() argument
973 if (rte_stats == NULL) 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()
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()
H A Digb_ethdev.c89 struct rte_eth_stats *rte_stats);
165 struct rte_eth_stats *rte_stats);
1825 if (rte_stats == NULL) in eth_igb_stats_get()
1829 rte_stats->imissed = stats->mpc; in eth_igb_stats_get()
1837 rte_stats->ipackets = stats->gprc; in eth_igb_stats_get()
1838 rte_stats->opackets = stats->gptc; in eth_igb_stats_get()
1839 rte_stats->ibytes = stats->gorc; in eth_igb_stats_get()
1840 rte_stats->obytes = stats->gotc; in eth_igb_stats_get()
2095 if (rte_stats == NULL) in eth_igbvf_stats_get()
2099 rte_stats->ibytes = hw_stats->gorc; in eth_igbvf_stats_get()
[all …]