Searched refs:r_stats (Results 1 – 2 of 2) sorted by relevance
133 int enic_dev_stats_get(struct enic *enic, struct rte_eth_stats *r_stats) in enic_dev_stats_get() argument156 r_stats->ipackets = stats->rx.rx_frames_ok - rx_truncated; in enic_dev_stats_get()157 r_stats->opackets = stats->tx.tx_frames_ok; in enic_dev_stats_get()159 r_stats->ibytes = stats->rx.rx_bytes_ok; in enic_dev_stats_get()160 r_stats->obytes = stats->tx.tx_bytes_ok; in enic_dev_stats_get()162 r_stats->ierrors = stats->rx.rx_errors + stats->rx.rx_drop; in enic_dev_stats_get()163 r_stats->oerrors = stats->tx.tx_errors in enic_dev_stats_get()166 r_stats->imissed = stats->rx.rx_no_bufs + rx_truncated; in enic_dev_stats_get()168 r_stats->rx_nombuf = rte_atomic64_read(&soft_stats->rx_nombuf); in enic_dev_stats_get()
404 struct rte_eth_stats *r_stats);