net/mlx5e: Allocate set of queue counters per netdev
authorRana Shahout <ranas@mellanox.com>
Wed, 20 Apr 2016 19:02:10 +0000 (22:02 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Apr 2016 19:09:04 +0000 (15:09 -0400)
commit593cf33829adfd3d5c75d42879cc42afded1b626
treea268423b58d162263ae2d0682cee115fcd3f5e02
parent237cd218099ce96edf2890a49aa191b38b84c2fc
net/mlx5e: Allocate set of queue counters per netdev

Connect all netdev RQs to this set of queue counters.
Also, add an "rx_out_of_buffer" counter to ethtool,
which indicates RX packet drops due to lack of receive
buffers.

Signed-off-by: Rana Shahout <ranas@mellanox.com>
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_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c