net/mlx4: Query performance and diagnostics counters
authorMark Bloch <markb@mellanox.com>
Tue, 19 Jul 2016 17:54:57 +0000 (20:54 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 4 Aug 2016 01:03:34 +0000 (21:03 -0400)
commitbfaf31687c2628ebb95c58a472d46db3f94c554f
treeee972554ddb5d61e872b0ee8e7929aa8fbc99ef3
parentc7c122ed67e47a7d8033ae21f0cb22a21686194a
net/mlx4: Query performance and diagnostics counters

Add a function to query diagnostics counters from the firmware.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/net/ethernet/mellanox/mlx4/fw.c
include/linux/mlx4/device.h