IB/mlx4: Limit size of fast registration WRs
[deliverable/linux.git] / include / linux / mlx4 / device.h
index 7a7f9c1e679a30e5b2f8366926cf7b7991360723..ada69389fb918b1d9e13dcc56cd2ec15b2757349 100644 (file)
@@ -171,6 +171,10 @@ enum {
        MLX4_NUM_FEXCH          = 64 * 1024,
 };
 
+enum {
+       MLX4_MAX_FAST_REG_PAGES = 511,
+};
+
 static inline u64 mlx4_fw_ver(u64 major, u64 minor, u64 subminor)
 {
        return (major << 32) | (minor << 16) | subminor;
This page took 0.025087 seconds and 5 git commands to generate.