Lines Matching refs:qp_type
45 static int check_creation_flags(enum ib_qp_type qp_type,
50 if (!create_flags || qp_type == IB_QPT_DRIVER)
53 if (qp_type != IB_QPT_RAW_PACKET && qp_type != IB_QPT_UD)
58 qp_type != IB_QPT_RAW_PACKET)
108 ret = uverbs_get_const(&attr.qp_type, attrs,
113 switch (attr.qp_type) {
148 attr.qp_type == IB_QPT_XRC_INI))
180 if (attr.qp_type != IB_QPT_XRC_INI) {
204 ret = check_creation_flags(attr.qp_type, attr.create_flags);
221 attr.qp_type != IB_QPT_XRC_TGT) ||
223 attr.qp_type == IB_QPT_XRC_TGT))
259 if (attr.qp_type == IB_QPT_XRC_TGT) {