Searched refs:flowstats (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Den_port.c153 struct mlx4_en_stat_out_flow_control_mbox *flowstats; mlx4_en_DUMP_ETH_STATS() local
300 memset(mailbox->buf, 0xff, sizeof(*flowstats) * MLX4_NUM_PRIORITIES); mlx4_en_DUMP_ETH_STATS()
304 sizeof(*flowstats) * MLX4_NUM_PRIORITIES); mlx4_en_DUMP_ETH_STATS()
313 flowstats = mailbox->buf; mlx4_en_DUMP_ETH_STATS()
319 be64_to_cpu(flowstats[i].rx_pause); mlx4_en_DUMP_ETH_STATS()
321 be64_to_cpu(flowstats[i].rx_pause_duration); mlx4_en_DUMP_ETH_STATS()
323 be64_to_cpu(flowstats[i].rx_pause_transition); mlx4_en_DUMP_ETH_STATS()
325 be64_to_cpu(flowstats[i].tx_pause); mlx4_en_DUMP_ETH_STATS()
327 be64_to_cpu(flowstats[i].tx_pause_duration); mlx4_en_DUMP_ETH_STATS()
329 be64_to_cpu(flowstats[i].tx_pause_transition); mlx4_en_DUMP_ETH_STATS()
334 be64_to_cpu(flowstats[0].rx_pause); mlx4_en_DUMP_ETH_STATS()
336 be64_to_cpu(flowstats[0].rx_pause_duration); mlx4_en_DUMP_ETH_STATS()
338 be64_to_cpu(flowstats[0].rx_pause_transition); mlx4_en_DUMP_ETH_STATS()
340 be64_to_cpu(flowstats[0].tx_pause); mlx4_en_DUMP_ETH_STATS()
342 be64_to_cpu(flowstats[0].tx_pause_duration); mlx4_en_DUMP_ETH_STATS()
344 be64_to_cpu(flowstats[0].tx_pause_transition); mlx4_en_DUMP_ETH_STATS()

Completed in 157 milliseconds