]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net/mlx5e: Add per-channel counters infrastructure, use it upon TX timeout
authorEran Ben Elisha <eranbe@mellanox.com>
Tue, 19 Dec 2017 12:53:34 +0000 (14:53 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 19 Jan 2018 20:41:33 +0000 (22:41 +0200)
commit57d689a8ca7b360f902328da95e8b441c24823ca
tree602aebc070e5e1501cde62e7da90e3a7f0b2db15
parent7ca560b5af70b5f578c9bf32c8fbfbd68d22252f
net/mlx5e: Add per-channel counters infrastructure, use it upon TX timeout

Add per-channel counter ch#_eq_rearm to monitor how many lost interrupt
recovery actions happened upon TX timeouts.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h