aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_verbs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rdma/ib_verbs.h')
-rw-r--r--include/rdma/ib_verbs.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 356953d3dbd1..b5732432bb29 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -1056,7 +1056,7 @@ enum ib_qp_create_flags {
1056 IB_QP_CREATE_MANAGED_RECV = 1 << 4, 1056 IB_QP_CREATE_MANAGED_RECV = 1 << 4,
1057 IB_QP_CREATE_NETIF_QP = 1 << 5, 1057 IB_QP_CREATE_NETIF_QP = 1 << 5,
1058 IB_QP_CREATE_SIGNATURE_EN = 1 << 6, 1058 IB_QP_CREATE_SIGNATURE_EN = 1 << 6,
1059 IB_QP_CREATE_USE_GFP_NOIO = 1 << 7, 1059 /* FREE = 1 << 7, */
1060 IB_QP_CREATE_SCATTER_FCS = 1 << 8, 1060 IB_QP_CREATE_SCATTER_FCS = 1 << 8,
1061 IB_QP_CREATE_CVLAN_STRIPPING = 1 << 9, 1061 IB_QP_CREATE_CVLAN_STRIPPING = 1 << 9,
1062 /* reserve bits 26-31 for low level drivers' internal use */ 1062 /* reserve bits 26-31 for low level drivers' internal use */
@@ -2948,6 +2948,22 @@ struct ib_qp *ib_create_qp(struct ib_pd *pd,
2948 struct ib_qp_init_attr *qp_init_attr); 2948 struct ib_qp_init_attr *qp_init_attr);
2949 2949
2950/** 2950/**
2951 * ib_modify_qp_with_udata - Modifies the attributes for the specified QP.
2952 * @qp: The QP to modify.
2953 * @attr: On input, specifies the QP attributes to modify. On output,
2954 * the current values of selected QP attributes are returned.
2955 * @attr_mask: A bit-mask used to specify which attributes of the QP
2956 * are being modified.
2957 * @udata: pointer to user's input output buffer information
2958 * are being modified.
2959 * It returns 0 on success and returns appropriate error code on error.
2960 */
2961int ib_modify_qp_with_udata(struct ib_qp *qp,
2962 struct ib_qp_attr *attr,
2963 int attr_mask,
2964 struct ib_udata *udata);
2965
2966/**
2951 * ib_modify_qp - Modifies the attributes for the specified QP and then 2967 * ib_modify_qp - Modifies the attributes for the specified QP and then
2952 * transitions the QP to the given state. 2968 * transitions the QP to the given state.
2953 * @qp: The QP to modify. 2969 * @qp: The QP to modify.