summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx4
diff options
context:
space:
mode:
authorMark Bloch <markb@mellanox.com>2016-07-19 20:54:56 +0300
committerDoug Ledford <dledford@redhat.com>2016-08-03 21:03:33 -0400
commitc7c122ed67e47a7d8033ae21f0cb22a21686194a (patch)
treee91bb525f7443f8b9ea0a85739a257c3fba155e9 /include/linux/mlx4
parente972dabf9c38f7051d3dbaa48d8e77cfbe3a1baa (diff)
downloadtalos-op-linux-c7c122ed67e47a7d8033ae21f0cb22a21686194a.tar.gz
talos-op-linux-c7c122ed67e47a7d8033ae21f0cb22a21686194a.zip
net/mlx4: Add diagnostic counters capability bit
Add a bit that indicates if the firmware supports per port diagnostic counters. Signed-off-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux/mlx4')
-rw-r--r--include/linux/mlx4/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h
index 80dec87a94f8..680d110aff05 100644
--- a/include/linux/mlx4/device.h
+++ b/include/linux/mlx4/device.h
@@ -220,6 +220,7 @@ enum {
MLX4_DEV_CAP_FLAG2_LB_SRC_CHK = 1ULL << 32,
MLX4_DEV_CAP_FLAG2_ROCE_V1_V2 = 1ULL << 33,
MLX4_DEV_CAP_FLAG2_DMFS_UC_MC_SNIFFER = 1ULL << 34,
+ MLX4_DEV_CAP_FLAG2_DIAG_PER_PORT = 1ULL << 35,
};
enum {
OpenPOWER on IntegriCloud