Searched refs:r_stats (Results 1 – 2 of 2) sorted by relevance
132 int enic_dev_stats_get(struct enic *enic, struct rte_eth_stats *r_stats) in enic_dev_stats_get() argument155 r_stats->ipackets = stats->rx.rx_frames_ok - rx_truncated; in enic_dev_stats_get()156 r_stats->opackets = stats->tx.tx_frames_ok; in enic_dev_stats_get()158 r_stats->ibytes = stats->rx.rx_bytes_ok; in enic_dev_stats_get()159 r_stats->obytes = stats->tx.tx_bytes_ok; in enic_dev_stats_get()161 r_stats->ierrors = stats->rx.rx_errors + stats->rx.rx_drop; in enic_dev_stats_get()162 r_stats->oerrors = stats->tx.tx_errors in enic_dev_stats_get()165 r_stats->imissed = stats->rx.rx_no_bufs + rx_truncated; in enic_dev_stats_get()167 r_stats->rx_nombuf = rte_atomic64_read(&soft_stats->rx_nombuf); in enic_dev_stats_get()
421 struct rte_eth_stats *r_stats);