Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c5036 struct rtnl_link_stats64 cur_stats; in mlx5e_tc_stats_matchall() local
5040 mlx5e_stats_copy_rep_stats(&cur_stats, &priv->stats.rep_stats); in mlx5e_tc_stats_matchall()
5041 dpkts = cur_stats.rx_packets - rpriv->prev_vf_vport_stats.rx_packets; in mlx5e_tc_stats_matchall()
5042 dbytes = cur_stats.rx_bytes - rpriv->prev_vf_vport_stats.rx_bytes; in mlx5e_tc_stats_matchall()
5043 rpriv->prev_vf_vport_stats = cur_stats; in mlx5e_tc_stats_matchall()