Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c3345 struct mlx4_counter tmp_vf_stats; in mlx4_get_vf_stats() local
3360 err = mlx4_calc_vf_counters(dev, slave, port, &tmp_vf_stats); in mlx4_get_vf_stats()
3361 if (!err && tmp_vf_stats.counter_mode == 0) { in mlx4_get_vf_stats()
3362 vf_stats->rx_packets = be64_to_cpu(tmp_vf_stats.rx_frames); in mlx4_get_vf_stats()
3363 vf_stats->tx_packets = be64_to_cpu(tmp_vf_stats.tx_frames); in mlx4_get_vf_stats()
3364 vf_stats->rx_bytes = be64_to_cpu(tmp_vf_stats.rx_bytes); in mlx4_get_vf_stats()
3365 vf_stats->tx_bytes = be64_to_cpu(tmp_vf_stats.tx_bytes); in mlx4_get_vf_stats()