net/mlx5_core: Add helper function to read IB error counters
[linux-2.6-block.git] / include / linux / mlx5 / device.h
index 987764afa65c2344d5a85328f9f35a419e21db64..99e2edc93d276f6c3891476cd918c77a67e5cb94 100644 (file)
@@ -1284,7 +1284,8 @@ enum {
        MLX5_RFC_3635_COUNTERS_GROUP          = 0x3,
        MLX5_ETHERNET_EXTENDED_COUNTERS_GROUP = 0x5,
        MLX5_PER_PRIORITY_COUNTERS_GROUP      = 0x10,
-       MLX5_PER_TRAFFIC_CLASS_COUNTERS_GROUP = 0x11
+       MLX5_PER_TRAFFIC_CLASS_COUNTERS_GROUP = 0x11,
+       MLX5_INFINIBAND_PORT_COUNTERS_GROUP   = 0x20,
 };
 
 static inline u16 mlx5_to_sw_pkey_sz(int pkey_sz)