summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2016-04-20 19:02:09 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-04-21 19:09:04 (GMT)
commit237cd218099ce96edf2890a49aa191b38b84c2fc (patch)
treeee6e61ddb42081b00c7bb574406683d6145a25a9 /drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
parentb8fd789afb293002b11086e6ae417b7c523d2bdc (diff)
downloadlinux-237cd218099ce96edf2890a49aa191b38b84c2fc.tar.xz
net/mlx5: Introduce device queue counters
A queue counter can collect several statistics for one or more hardware queues (QPs, RQs, etc ..) that the counter is attached to. For Ethernet it will provide an "out of buffer" counter which collects the number of all packets that are dropped due to lack of software buffers. Here we add device commands to alloc/query/dealloc queue counters. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Rana Shahout <ranas@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c')
0 files changed, 0 insertions, 0 deletions