Home
last modified time | relevance | path

Searched refs:qp_type (Results 1 – 25 of 28) sorted by relevance

12

/drivers/infiniband/hw/ehca/
Dehca_qp.c465 int qp_type, max_send_sge, max_recv_sge, ret; in internal_create_qp() local
486 qp_type = init_attr->qp_type; in internal_create_qp()
497 if (qp_type & 0x80) { in internal_create_qp()
500 parms.ll_comp_flags = qp_type & LLQP_COMP_MASK; in internal_create_qp()
502 qp_type &= 0x1F; in internal_create_qp()
503 init_attr->qp_type &= 0x1F; in internal_create_qp()
509 if (qp_type == IB_QPT_UC) { in internal_create_qp()
540 if (qp_type != IB_QPT_UD && in internal_create_qp()
541 qp_type != IB_QPT_UC && in internal_create_qp()
542 qp_type != IB_QPT_RC && in internal_create_qp()
[all …]
Dehca_mcast.c67 if (ibqp->qp_type != IB_QPT_UD) { in ehca_attach_mcast()
68 ehca_err(ibqp->device, "invalid qp_type=%x", ibqp->qp_type); in ehca_attach_mcast()
104 if (ibqp->qp_type != IB_QPT_UD) { in ehca_detach_mcast()
105 ehca_err(ibqp->device, "invalid qp_type %x", ibqp->qp_type); in ehca_detach_mcast()
Dehca_sqp.c75 switch (qp_init_attr->qp_type) { in ehca_define_sqp()
98 qp_init_attr->qp_type); in ehca_define_sqp()
Dehca_reqs.c221 switch (qp->qp_type) { in ehca_write_swqe()
255 if (qp->qp_type == IB_QPT_SMI || in ehca_write_swqe()
256 qp->qp_type == IB_QPT_GSI) in ehca_write_swqe()
258 if (qp->qp_type == IB_QPT_GSI) { in ehca_write_swqe()
304 ehca_gen_err("Invalid qptype=%x", qp->qp_type); in ehca_write_swqe()
Dehca_classes.h190 u32 qp_type; member
408 u32 qp_type; member
Dehca_main.c561 qp_init_attr.qp_type = IB_QPT_GSI; in ehca_create_aqp1()
/drivers/infiniband/hw/ipath/
Dipath_ruc.c317 if (sqp->ibqp.qp_type == IB_QPT_RC) in ipath_ruc_loopback()
456 if (qp->ibqp.qp_type == IB_QPT_UC) in ipath_ruc_loopback()
492 if (sqp->ibqp.qp_type == IB_QPT_RC) { in ipath_ruc_loopback()
519 qp->ibqp.qp_type == IB_QPT_SMI) { in want_buffer()
645 if ((qp->ibqp.qp_type == IB_QPT_RC || in ipath_do_send()
646 qp->ibqp.qp_type == IB_QPT_UC) && in ipath_do_send()
652 if (qp->ibqp.qp_type == IB_QPT_RC) in ipath_do_send()
654 else if (qp->ibqp.qp_type == IB_QPT_UC) in ipath_do_send()
Dipath_qp.c463 if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type, in ipath_modify_qp()
525 ipath_reset_qp(qp, ibqp->qp_type); in ipath_modify_qp()
534 if (qp->ibqp.qp_type == IB_QPT_RC) in ipath_modify_qp()
664 init_attr->qp_type = qp->ibqp.qp_type; in ipath_query_qp()
778 switch (init_attr->qp_type) { in ipath_create_qp()
808 if (sg_list_sz && (init_attr->qp_type == IB_QPT_UD || in ipath_create_qp()
809 init_attr->qp_type == IB_QPT_SMI || in ipath_create_qp()
810 init_attr->qp_type == IB_QPT_GSI)) { in ipath_create_qp()
860 init_attr->qp_type); in ipath_create_qp()
868 ipath_reset_qp(qp, init_attr->qp_type); in ipath_create_qp()
Dipath_verbs.c347 if (qp->ibqp.qp_type != IB_QPT_SMI && in ipath_post_one_send()
366 if (qp->ibqp.qp_type == IB_QPT_UC) { in ipath_post_one_send()
369 } else if (qp->ibqp.qp_type == IB_QPT_UD) { in ipath_post_one_send()
416 if (qp->ibqp.qp_type == IB_QPT_UC || in ipath_post_one_send()
417 qp->ibqp.qp_type == IB_QPT_RC) { in ipath_post_one_send()
548 switch (qp->ibqp.qp_type) { in ipath_qp_rcv()
1339 if (qp->ibqp.qp_type == IB_QPT_SMI || in ipath_verbs_send()
Dipath_ud.c349 if (qp->ibqp.qp_type == IB_QPT_SMI) in ipath_make_ud_req()
365 bth0 |= qp->ibqp.qp_type == IB_QPT_SMI ? IPATH_DEFAULT_P_KEY : in ipath_make_ud_req()
/drivers/infiniband/hw/mlx4/
Dqp.c168 if (qp->ibqp.qp_type == IB_QPT_UD) { in post_nop_wqe()
514 err = set_kernel_sq_size(dev, &init_attr->cap, init_attr->qp_type, qp); in create_qp_common()
709 (pd->uobject || init_attr->qp_type != IB_QPT_UD)) in mlx4_ib_create_qp()
712 switch (init_attr->qp_type) { in mlx4_ib_create_qp()
746 (init_attr->qp_type == IB_QPT_SMI ? 0 : 2) + in mlx4_ib_create_qp()
755 qp->ibqp.qp_num = init_attr->qp_type == IB_QPT_SMI ? 0 : 1; in mlx4_ib_create_qp()
895 (to_mlx4_st(ibqp->qp_type) << 16)); in __mlx4_ib_modify_qp()
915 if (ibqp->qp_type == IB_QPT_GSI || ibqp->qp_type == IB_QPT_SMI) in __mlx4_ib_modify_qp()
917 else if (ibqp->qp_type == IB_QPT_UD) { in __mlx4_ib_modify_qp()
1063 (ibqp->qp_type == IB_QPT_GSI || ibqp->qp_type == IB_QPT_SMI || in __mlx4_ib_modify_qp()
[all …]
/drivers/infiniband/core/
Dverbs.c299 qp->qp_type = qp_init_attr->qp_type; in ib_create_qp()
890 if (gid->raw[0] != 0xff || qp->qp_type != IB_QPT_UD) in ib_attach_mcast()
901 if (gid->raw[0] != 0xff || qp->qp_type != IB_QPT_UD) in ib_detach_mcast()
Dmad.c115 static int get_spl_qp_index(enum ib_qp_type qp_type) in get_spl_qp_index() argument
117 switch (qp_type) in get_spl_qp_index()
183 enum ib_qp_type qp_type, in ib_register_mad_agent() argument
203 qpn = get_spl_qp_index(qp_type); in ib_register_mad_agent()
244 if (qp_type == IB_QPT_SMI) { in ib_register_mad_agent()
430 enum ib_qp_type qp_type, in ib_register_mad_snoop() argument
447 qpn = get_spl_qp_index(qp_type); in ib_register_mad_snoop()
2730 enum ib_qp_type qp_type) in create_mad_qp() argument
2743 qp_init_attr.qp_type = qp_type; in create_mad_qp()
2750 get_spl_qp_index(qp_type)); in create_mad_qp()
Ducm.c218 ureq->qp_type = kreq->qp_type; in ib_ucm_event_req_get()
777 param.qp_type = cmd.qp_type; in ib_ucm_send_req()
Dcm_msgs.h183 enum ib_qp_type qp_type) in cm_req_set_qp_type() argument
185 switch(qp_type) { in cm_req_set_qp_type()
Dcm.c222 enum ib_qp_type qp_type; member
1015 cm_req_set_qp_type(req_msg, param->qp_type); in cm_format_req()
1083 if (param->qp_type != IB_QPT_RC && param->qp_type != IB_QPT_UC) in cm_validate_req_param()
1148 cm_id_priv->qp_type = param->qp_type; in ib_send_cm_req()
1290 param->qp_type = cm_req_get_qp_type(req_msg); in cm_format_req_event()
1582 cm_id_priv->qp_type = cm_req_get_qp_type(req_msg); in cm_req_handler()
3475 if (cm_id_priv->qp_type == IB_QPT_RC) { in cm_init_qp_rtr_attr()
3520 if (cm_id_priv->qp_type == IB_QPT_RC) { in cm_init_qp_rts_attr()
Duverbs_cmd.c1065 attr.qp_type = cmd.qp_type; in ib_uverbs_create_qp()
1092 qp->qp_type = attr.qp_type; in ib_uverbs_create_qp()
1429 is_ud = qp->qp_type == IB_QPT_UD; in ib_uverbs_post_send()
/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c140 .qp_type = IB_QPT_UD in ipoib_transport_dev_init()
Dipoib_cm.c258 .qp_type = IB_QPT_RC, in ipoib_cm_create_rx_qp()
1022 .qp_type = IB_QPT_RC, in ipoib_cm_create_tx_qp()
1045 req.qp_type = qp->qp_type; in ipoib_cm_send_req()
/drivers/infiniband/hw/amso1100/
Dc2_provider.c251 switch (init_attr->qp_type) { in c2_create_qp()
273 init_attr->qp_type); in c2_create_qp()
Dc2_qp.c430 qp->ibqp.qp_type = IB_QPT_RC; in c2_alloc_qp()
/drivers/infiniband/hw/mthca/
Dmthca_provider.c548 switch (init_attr->qp_type) { in mthca_create_qp()
595 init_attr->qp_type, init_attr->sq_sig_type, in mthca_create_qp()
625 qp->ibqp.qp_num = init_attr->qp_type == IB_QPT_SMI ? 0 : 1; in mthca_create_qp()
Dmthca_qp.c657 if (ibqp->qp_type == IB_QPT_RC && in __mthca_modify_qp()
872 if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type, attr_mask)) { in mthca_modify_qp()
/drivers/infiniband/ulp/srp/
Dib_srp.c245 init_attr->qp_type = IB_QPT_RC; in srp_create_target_ib()
343 req->param.qp_type = target->qp->qp_type; in srp_send_req()
/drivers/infiniband/ulp/iser/
Diser_verbs.c179 init_attr.qp_type = IB_QPT_RC; in iser_create_ib_conn_res()

12