aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2012-03-12 19:25:28 -0400
committerRoland Dreier <roland@purestorage.com>2012-03-12 19:25:28 -0400
commit42872c7a5ed8d3ed49f51cb783978ca50369c564 (patch)
tree0deea7b61c163e6997a4634ab4ee310014984688 /include
parentd927d505c59a0c7353343174e6225c43c61fba6d (diff)
parentdb5a7a65c05867cb6ff5cb6d556a0edfce631d2d (diff)
Merge branches 'misc' and 'mlx4' into for-next
Conflicts: drivers/infiniband/hw/mlx4/main.c drivers/net/ethernet/mellanox/mlx4/main.c include/linux/mlx4/device.h
Diffstat (limited to 'include')
-rw-r--r--include/linux/mlx4/device.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h
index be7f235c04c0..b8432516d68a 100644
--- a/include/linux/mlx4/device.h
+++ b/include/linux/mlx4/device.h
@@ -129,6 +129,7 @@ enum mlx4_event {
129 MLX4_EVENT_TYPE_CMD = 0x0a, 129 MLX4_EVENT_TYPE_CMD = 0x0a,
130 MLX4_EVENT_TYPE_VEP_UPDATE = 0x19, 130 MLX4_EVENT_TYPE_VEP_UPDATE = 0x19,
131 MLX4_EVENT_TYPE_COMM_CHANNEL = 0x18, 131 MLX4_EVENT_TYPE_COMM_CHANNEL = 0x18,
132 MLX4_EVENT_TYPE_FATAL_WARNING = 0x1b,
132 MLX4_EVENT_TYPE_FLR_EVENT = 0x1c, 133 MLX4_EVENT_TYPE_FLR_EVENT = 0x1c,
133 MLX4_EVENT_TYPE_NONE = 0xff, 134 MLX4_EVENT_TYPE_NONE = 0xff,
134}; 135};
@@ -139,6 +140,10 @@ enum {
139}; 140};
140 141
141enum { 142enum {
143 MLX4_FATAL_WARNING_SUBTYPE_WARMING = 0,
144};
145
146enum {
142 MLX4_PERM_LOCAL_READ = 1 << 10, 147 MLX4_PERM_LOCAL_READ = 1 << 10,
143 MLX4_PERM_LOCAL_WRITE = 1 << 11, 148 MLX4_PERM_LOCAL_WRITE = 1 << 11,
144 MLX4_PERM_REMOTE_READ = 1 << 12, 149 MLX4_PERM_REMOTE_READ = 1 << 12,
@@ -269,6 +274,7 @@ struct mlx4_caps {
269 int num_comp_vectors; 274 int num_comp_vectors;
270 int comp_pool; 275 int comp_pool;
271 int num_mpts; 276 int num_mpts;
277 int max_fmr_maps;
272 int num_mtts; 278 int num_mtts;
273 int fmr_reserved_mtts; 279 int fmr_reserved_mtts;
274 int reserved_mtts; 280 int reserved_mtts;
@@ -304,6 +310,7 @@ struct mlx4_caps {
304 u32 port_mask[MLX4_MAX_PORTS + 1]; 310 u32 port_mask[MLX4_MAX_PORTS + 1];
305 enum mlx4_port_type possible_type[MLX4_MAX_PORTS + 1]; 311 enum mlx4_port_type possible_type[MLX4_MAX_PORTS + 1];
306 u32 max_counters; 312 u32 max_counters;
313 u8 port_ib_mtu[MLX4_MAX_PORTS + 1];
307}; 314};
308 315
309struct mlx4_buf_list { 316struct mlx4_buf_list {