/drivers/infiniband/hw/ehca/ |
D | ehca_qp.c | 465 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 …]
|
D | ehca_mcast.c | 67 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()
|
D | ehca_sqp.c | 75 switch (qp_init_attr->qp_type) { in ehca_define_sqp() 98 qp_init_attr->qp_type); in ehca_define_sqp()
|
D | ehca_reqs.c | 221 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()
|
D | ehca_classes.h | 190 u32 qp_type; member 408 u32 qp_type; member
|
D | ehca_main.c | 561 qp_init_attr.qp_type = IB_QPT_GSI; in ehca_create_aqp1()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_ruc.c | 317 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()
|
D | ipath_qp.c | 463 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()
|
D | ipath_verbs.c | 347 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()
|
D | ipath_ud.c | 349 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/ |
D | qp.c | 168 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/ |
D | verbs.c | 299 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()
|
D | mad.c | 115 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()
|
D | ucm.c | 218 ureq->qp_type = kreq->qp_type; in ib_ucm_event_req_get() 777 param.qp_type = cmd.qp_type; in ib_ucm_send_req()
|
D | cm_msgs.h | 183 enum ib_qp_type qp_type) in cm_req_set_qp_type() argument 185 switch(qp_type) { in cm_req_set_qp_type()
|
D | cm.c | 222 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()
|
D | uverbs_cmd.c | 1065 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/ |
D | ipoib_verbs.c | 140 .qp_type = IB_QPT_UD in ipoib_transport_dev_init()
|
D | ipoib_cm.c | 258 .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/ |
D | c2_provider.c | 251 switch (init_attr->qp_type) { in c2_create_qp() 273 init_attr->qp_type); in c2_create_qp()
|
D | c2_qp.c | 430 qp->ibqp.qp_type = IB_QPT_RC; in c2_alloc_qp()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_provider.c | 548 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()
|
D | mthca_qp.c | 657 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/ |
D | ib_srp.c | 245 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/ |
D | iser_verbs.c | 179 init_attr.qp_type = IB_QPT_RC; in iser_create_ib_conn_res()
|