net/mlx5e: Add ethtool counter for RX buffer allocation failures
authorTariq Toukan <tariqt@mellanox.com>
Wed, 20 Apr 2016 19:02:19 +0000 (22:02 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Apr 2016 19:09:06 +0000 (15:09 -0400)
commit54984407564ef6b35488f52654f828c17b9d6fa8
treeabe4def67a3d91798fc75ea87963adaedf9c5d84
parente20a0db30454a07f03f3a34a79e9f35881cfaa9d
net/mlx5e: Add ethtool counter for RX buffer allocation failures

Counts the number of RX buffer allocation failures and shows it
in ethtool statistics.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c