Searched refs:rtstats (Results 1 – 1 of 1) sorted by relevance
518 struct rtnl_link_stats64 rtstats = {}; in nsim_get_queue_stats_rx() local521 nsim_get_stats64(dev, &rtstats); in nsim_get_queue_stats_rx()523 stats->packets = rtstats.rx_packets - !!rtstats.rx_packets; in nsim_get_queue_stats_rx()524 stats->bytes = rtstats.rx_bytes; in nsim_get_queue_stats_rx()530 struct rtnl_link_stats64 rtstats = {}; in nsim_get_queue_stats_tx() local533 nsim_get_stats64(dev, &rtstats); in nsim_get_queue_stats_tx()535 stats->packets = rtstats.tx_packets - !!rtstats.tx_packets; in nsim_get_queue_stats_tx()536 stats->bytes = rtstats.tx_bytes; in nsim_get_queue_stats_tx()543 struct rtnl_link_stats64 rtstats = {}; in nsim_get_base_stats() local545 nsim_get_stats64(dev, &rtstats); in nsim_get_base_stats()[all …]