diff options
Diffstat (limited to 'include/linux/mlx4/device.h')
-rw-r--r-- | include/linux/mlx4/device.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index 7a7f9c1e679a..ada69389fb91 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h | |||
@@ -171,6 +171,10 @@ enum { | |||
171 | MLX4_NUM_FEXCH = 64 * 1024, | 171 | MLX4_NUM_FEXCH = 64 * 1024, |
172 | }; | 172 | }; |
173 | 173 | ||
174 | enum { | ||
175 | MLX4_MAX_FAST_REG_PAGES = 511, | ||
176 | }; | ||
177 | |||
174 | static inline u64 mlx4_fw_ver(u64 major, u64 minor, u64 subminor) | 178 | static inline u64 mlx4_fw_ver(u64 major, u64 minor, u64 subminor) |
175 | { | 179 | { |
176 | return (major << 32) | (minor << 16) | subminor; | 180 | return (major << 32) | (minor << 16) | subminor; |