Searched refs:rtstats (Results 1 – 1 of 1) sorted by relevance
557 struct rtnl_link_stats64 rtstats = {}; in nsim_get_queue_stats_rx() local560 nsim_get_stats64(dev, &rtstats); in nsim_get_queue_stats_rx()562 stats->packets = rtstats.rx_packets - !!rtstats.rx_packets; in nsim_get_queue_stats_rx()563 stats->bytes = rtstats.rx_bytes; in nsim_get_queue_stats_rx()569 struct rtnl_link_stats64 rtstats = {}; in nsim_get_queue_stats_tx() local572 nsim_get_stats64(dev, &rtstats); in nsim_get_queue_stats_tx()574 stats->packets = rtstats.tx_packets - !!rtstats.tx_packets; in nsim_get_queue_stats_tx()575 stats->bytes = rtstats.tx_bytes; in nsim_get_queue_stats_tx()582 struct rtnl_link_stats64 rtstats = {}; in nsim_get_base_stats() local584 nsim_get_stats64(dev, &rtstats); in nsim_get_base_stats()[all …]