]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/infiniband/hw/mlx5/mlx5_ib.h
RDMA: Move enum ib_cq_creation_flags to uapi headers
[linux.git] / drivers / infiniband / hw / mlx5 / mlx5_ib.h
index 69a80f7512f09408a7e7209c694aa40de11b0929..1393851299738d6173daff863e444e9fc5346af0 100644 (file)
@@ -1123,8 +1123,8 @@ static inline u32 check_cq_create_flags(u32 flags)
         * It returns non-zero value for unsupported CQ
         * create flags, otherwise it returns zero.
         */
-       return (flags & ~(IB_CQ_FLAGS_IGNORE_OVERRUN |
-                         IB_CQ_FLAGS_TIMESTAMP_COMPLETION));
+       return (flags & ~(IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN |
+                         IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION));
 }
 
 static inline int verify_assign_uidx(u8 cqe_version, u32 cmd_uidx,