|
@@ -2214,7 +2214,9 @@ static void *mlx5_ib_add(struct mlx5_core_dev *mdev)
|
|
|
(1ull << IB_USER_VERBS_CMD_CREATE_XSRQ) |
|
|
|
(1ull << IB_USER_VERBS_CMD_OPEN_QP);
|
|
|
dev->ib_dev.uverbs_ex_cmd_mask =
|
|
|
- (1ull << IB_USER_VERBS_EX_CMD_QUERY_DEVICE);
|
|
|
+ (1ull << IB_USER_VERBS_EX_CMD_QUERY_DEVICE) |
|
|
|
+ (1ull << IB_USER_VERBS_EX_CMD_CREATE_CQ) |
|
|
|
+ (1ull << IB_USER_VERBS_EX_CMD_CREATE_QP);
|
|
|
|
|
|
dev->ib_dev.query_device = mlx5_ib_query_device;
|
|
|
dev->ib_dev.query_port = mlx5_ib_query_port;
|