Message ID | 1450610564-17279-3-git-send-email-leon@leon.nu (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
On 12/20/2015 1:22 PM, Leon Romanovsky wrote: > --- > include/infiniband/verbs.h | 3 +++ > src/cmd.c | 5 ++++- > 2 files changed, 7 insertions(+), 1 deletion(-) You need to document the new creation flags in a man page. If this doesn't exist, this should be added to Eran's submission and you will enhance that. Or. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/include/infiniband/verbs.h b/include/infiniband/verbs.h index d8069d52ae13..2b9b50c87f45 100644 --- a/include/infiniband/verbs.h +++ b/include/infiniband/verbs.h @@ -769,6 +769,9 @@ enum ibv_qp_init_attr_mask { enum ibv_qp_create_flags { IBV_QP_CREATE_BLOCK_SELF_MCAST_LB = 1 << 1, + IBV_QP_CREATE_CROSS_CHANNEL = 1 << 2, + IBV_QP_CREATE_MANAGED_SEND = 1 << 3, + IBV_QP_CREATE_MANAGED_RECV = 1 << 4 }; struct ibv_qp_init_attr_ex { diff --git a/src/cmd.c b/src/cmd.c index 675777a8ee5a..ae33491befb4 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -815,7 +815,10 @@ static void create_qp_handle_resp_common(struct ibv_context *context, } enum { - CREATE_QP_EX2_SUP_CREATE_FLAGS = IBV_QP_CREATE_BLOCK_SELF_MCAST_LB, + CREATE_QP_EX2_SUP_CREATE_FLAGS = IBV_QP_CREATE_BLOCK_SELF_MCAST_LB | + IBV_QP_CREATE_CROSS_CHANNEL | + IBV_QP_CREATE_MANAGED_SEND | + IBV_QP_CREATE_MANAGED_RECV }; int ibv_cmd_create_qp_ex2(struct ibv_context *context,