/drivers/infiniband/hw/ehca/ |
H A D | ehca_mcast.c | 67 if (ibqp->qp_type != IB_QPT_UD) { 68 ehca_err(ibqp->device, "invalid qp_type=%x", ibqp->qp_type); 104 if (ibqp->qp_type != IB_QPT_UD) { 105 ehca_err(ibqp->device, "invalid qp_type %x", ibqp->qp_type);
|
H A D | ehca_qp.c | 162 * ib2ehcaqptype maps Ib to ehca qp_type 465 int qp_type, max_send_sge, max_recv_sge, ret; local 486 qp_type = init_attr->qp_type; 497 if (qp_type & 0x80) { 500 parms.ll_comp_flags = qp_type & LLQP_COMP_MASK; 502 qp_type &= 0x1F; 503 init_attr->qp_type &= 0x1F; 509 if (qp_type == IB_QPT_UC) { 540 if (qp_type ! 2143 enum ib_qp_type qp_type; local [all...] |
H A D | ehca_sqp.c | 75 switch (qp_init_attr->qp_type) { 97 ehca_err(&shca->ib_device, "invalid qp_type=%x", 98 qp_init_attr->qp_type);
|
H A D | ehca_classes.h | 190 u32 qp_type; member in struct:ehca_qp 409 u32 qp_type; member in struct:ehca_create_qp_resp
|
H A D | ehca_reqs.c | 220 switch (qp->qp_type) { 254 if (qp->qp_type == IB_QPT_SMI || 255 qp->qp_type == IB_QPT_GSI) 257 if (qp->qp_type == IB_QPT_GSI) { 303 ehca_gen_err("Invalid qptype=%x", qp->qp_type);
|
/drivers/infiniband/hw/qib/ |
H A D | qib_ud.c | 68 sqptype = sqp->ibqp.qp_type == IB_QPT_GSI ? 69 IB_QPT_UD : sqp->ibqp.qp_type; 70 dqptype = qp->ibqp.qp_type == IB_QPT_GSI ? 71 IB_QPT_UD : qp->ibqp.qp_type; 212 wc.pkey_index = qp->ibqp.qp_type == IB_QPT_GSI ? 348 if (qp->ibqp.qp_type == IB_QPT_SMI) 364 bth0 |= qp->ibqp.qp_type == IB_QPT_SMI ? QIB_DEFAULT_P_KEY : 365 qib_get_pkey(ibp, qp->ibqp.qp_type == IB_QPT_GSI ? 571 wc.pkey_index = qp->ibqp.qp_type == IB_QPT_GSI ?
|
H A D | qib_ruc.c | 410 qp->ibqp.qp_type != sqp->ibqp.qp_type) { 416 if (sqp->ibqp.qp_type == IB_QPT_RC) 576 if (qp->ibqp.qp_type == IB_QPT_UC) 619 if (sqp->ibqp.qp_type == IB_QPT_RC) { 725 if ((qp->ibqp.qp_type == IB_QPT_RC || 726 qp->ibqp.qp_type == IB_QPT_UC) && 732 if (qp->ibqp.qp_type == IB_QPT_RC) 734 else if (qp->ibqp.qp_type == IB_QPT_UC) 784 if (qp->ibqp.qp_type [all...] |
H A D | qib_qp.c | 436 if (qp->ibqp.qp_type == IB_QPT_UD || 437 qp->ibqp.qp_type == IB_QPT_SMI || 438 qp->ibqp.qp_type == IB_QPT_GSI) 449 if (qp->ibqp.qp_type != IB_QPT_RC) 587 if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type, 616 if (qp->ibqp.qp_type == IB_QPT_SMI || 617 qp->ibqp.qp_type == IB_QPT_GSI || 718 qib_reset_qp(qp, ibqp->qp_type); 734 if (qp->ibqp.qp_type == IB_QPT_RC) 899 init_attr->qp_type [all...] |
H A D | qib_verbs.c | 367 } else if (qp->ibqp.qp_type == IB_QPT_UC) { 370 } else if (qp->ibqp.qp_type != IB_QPT_RC) { 420 if (qp->ibqp.qp_type == IB_QPT_UC || 421 qp->ibqp.qp_type == IB_QPT_RC) { 572 switch (qp->ibqp.qp_type) { 1086 else if (qp->ibqp.qp_type == IB_QPT_RC) { 1357 } else if (qp->ibqp.qp_type == IB_QPT_RC) { 1395 if (qp->ibqp.qp_type == IB_QPT_SMI ||
|
/drivers/infiniband/hw/ipath/ |
H A D | ipath_ruc.c | 318 if (sqp->ibqp.qp_type == IB_QPT_RC) 457 if (qp->ibqp.qp_type == IB_QPT_UC) 493 if (sqp->ibqp.qp_type == IB_QPT_RC) { 520 qp->ibqp.qp_type == IB_QPT_SMI) { 646 if ((qp->ibqp.qp_type == IB_QPT_RC || 647 qp->ibqp.qp_type == IB_QPT_UC) && 653 if (qp->ibqp.qp_type == IB_QPT_RC) 655 else if (qp->ibqp.qp_type == IB_QPT_UC)
|
H A D | ipath_qp.c | 465 if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type, 527 ipath_reset_qp(qp, ibqp->qp_type); 536 if (qp->ibqp.qp_type == IB_QPT_RC) 666 init_attr->qp_type = qp->ibqp.qp_type; 780 switch (init_attr->qp_type) { 810 if (sg_list_sz && (init_attr->qp_type == IB_QPT_UD || 811 init_attr->qp_type == IB_QPT_SMI || 812 init_attr->qp_type == IB_QPT_GSI)) { 862 init_attr->qp_type); [all...] |
H A D | ipath_ud.c | 350 if (qp->ibqp.qp_type == IB_QPT_SMI) 366 bth0 |= qp->ibqp.qp_type == IB_QPT_SMI ? IPATH_DEFAULT_P_KEY :
|
/drivers/infiniband/hw/mlx4/ |
H A D | qp.c | 252 if (qp->ibqp.qp_type == IB_QPT_UD) { 605 if (attr->qp_type == IB_QPT_XRC_INI || attr->qp_type == IB_QPT_XRC_TGT) 630 enum mlx4_ib_qp_type qp_type = (enum mlx4_ib_qp_type) init_attr->qp_type; local 637 if (init_attr->qp_type == IB_QPT_GSI) 638 qp_type = MLX4_IB_QPT_PROXY_GSI; 642 qp_type = MLX4_IB_QPT_PROXY_SMI_OWNER; 644 qp_type = MLX4_IB_QPT_PROXY_SMI; 659 qp_type [all...] |
H A D | mad.c | 638 err = mlx4_ib_send_to_slave(dev, slave, port, wc->qp->qp_type, wc, grh, mad); 709 err = mlx4_ib_send_to_slave(dev, slave, port, wc->qp->qp_type, wc, grh, mad); 1113 size = (tun_qp->qp->qp_type == IB_QPT_UD) ? 1380 enum ib_qp_type qp_type, int is_tun) 1386 if (qp_type > IB_QPT_GSI) 1389 tun_qp = &ctx->qp[qp_type]; 1438 tun_qp->proxy_qpt = qp_type; 1465 enum ib_qp_type qp_type, int is_tun) 1471 if (qp_type > IB_QPT_GSI) 1474 tun_qp = &ctx->qp[qp_type]; 1379 mlx4_ib_alloc_pv_bufs(struct mlx4_ib_demux_pv_ctx *ctx, enum ib_qp_type qp_type, int is_tun) argument 1464 mlx4_ib_free_pv_qp_bufs(struct mlx4_ib_demux_pv_ctx *ctx, enum ib_qp_type qp_type, int is_tun) argument 1565 create_pv_sqp(struct mlx4_ib_demux_pv_ctx *ctx, enum ib_qp_type qp_type, int create_tun) argument [all...] |
/drivers/infiniband/hw/mlx5/ |
H A D | qp.c | 83 static int is_qp0(enum ib_qp_type qp_type) argument 85 return qp_type == IB_QPT_SMI; 88 static int is_qp1(enum ib_qp_type qp_type) argument 90 return qp_type == IB_QPT_GSI; 93 static int is_sqp(enum ib_qp_type qp_type) argument 95 return is_qp0(qp_type) || is_qp1(qp_type); 202 static int sq_overhead(enum ib_qp_type qp_type) argument 206 switch (qp_type) { 251 size = sq_overhead(attr->qp_type); 797 is_connected(enum ib_qp_type qp_type) argument [all...] |
/drivers/infiniband/core/ |
H A D | verbs.c | 411 qp->qp_type = real_qp->qp_type; 425 if (qp_open_attr->qp_type != IB_QPT_XRC_TGT) 455 qp->qp_type = qp_init_attr->qp_type; 458 if (qp_init_attr->qp_type == IB_QPT_XRC_TGT) { 478 if (qp_init_attr->qp_type == IB_QPT_XRC_INI) { 1349 if (gid->raw[0] != 0xff || qp->qp_type != IB_QPT_UD) 1365 if (gid->raw[0] != 0xff || qp->qp_type != IB_QPT_UD)
|
H A D | cm_msgs.h | 176 enum ib_qp_type qp_type) 178 switch(qp_type) { 540 static inline __be32 cm_rep_get_qpn(struct cm_rep_msg *rep_msg, enum ib_qp_type qp_type) argument 542 return (qp_type == IB_QPT_XRC_INI) ? 175 cm_req_set_qp_type(struct cm_req_msg *req_msg, enum ib_qp_type qp_type) argument
|
H A D | ucma.c | 261 if (cm_id->qp_type == IB_QPT_UD) 350 static int ucma_get_qp_type(struct rdma_ucm_create_id *cmd, enum ib_qp_type *qp_type) argument 354 *qp_type = IB_QPT_RC; 358 *qp_type = IB_QPT_UD; 361 *qp_type = cmd->qp_type; 374 enum ib_qp_type qp_type; local 383 ret = ucma_get_qp_type(&cmd, &qp_type); 394 ctx->cm_id = rdma_create_id(ucma_event_handler, ctx, cmd.ps, qp_type);
|
H A D | cm.c | 227 enum ib_qp_type qp_type; member in struct:cm_id_private 897 if (cm_id_priv->qp_type == IB_QPT_XRC_TGT) 1021 cm_req_set_qp_type(req_msg, param->qp_type); 1030 if (param->qp_type != IB_QPT_XRC_INI) { 1093 if (param->qp_type != IB_QPT_RC && param->qp_type != IB_QPT_UC && 1094 param->qp_type != IB_QPT_XRC_INI) 1159 cm_id_priv->qp_type = param->qp_type; 1301 param->qp_type 1754 cm_format_rep_event(struct cm_work *work, enum ib_qp_type qp_type) argument [all...] |
H A D | cma.c | 493 enum ib_qp_type qp_type) 506 id_priv->id.qp_type = qp_type; 574 if (id->qp_type == IB_QPT_UD) 717 if (id_priv->id.qp_type == IB_QPT_UD) { 740 if (!id_priv->cm_id.ib || (id_priv->id.qp_type == IB_QPT_UD)) 1191 listen_id->ps, ib_event->param.req_rcvd.qp_type); 1276 (ib_event->param.req_rcvd.qp_type == id->qp_type)) || 1278 (id->qp_type 491 rdma_create_id(rdma_cm_event_handler event_handler, void *context, enum rdma_port_space ps, enum ib_qp_type qp_type) argument [all...] |
H A D | uverbs_cmd.c | 1606 if (cmd.qp_type == IB_QPT_RAW_PACKET && !capable(CAP_NET_RAW)) 1620 if (cmd.qp_type == IB_QPT_XRC_TGT) { 1628 if (cmd.qp_type == IB_QPT_XRC_INI) { 1666 attr.qp_type = cmd.qp_type; 1679 if (cmd.qp_type == IB_QPT_XRC_TGT) 1689 if (cmd.qp_type != IB_QPT_XRC_TGT) { 1698 qp->qp_type = attr.qp_type; 1816 attr.qp_type 1972 modify_qp_mask(enum ib_qp_type qp_type, int mask) argument [all...] |
H A D | ucm.c | 209 ureq->qp_type = kreq->qp_type; 762 param.qp_type = cmd.qp_type;
|
/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_verbs.c | 1039 if ((attrs->qp_type != IB_QPT_GSI) && 1040 (attrs->qp_type != IB_QPT_RC) && 1041 (attrs->qp_type != IB_QPT_UC) && 1042 (attrs->qp_type != IB_QPT_UD)) { 1044 __func__, dev->id, attrs->qp_type); 1048 if ((attrs->qp_type != IB_QPT_GSI) && 1085 if (ibpd->uobject && attrs->qp_type == IB_QPT_GSI) { 1088 __func__, dev->id, attrs->qp_type); 1092 if (attrs->qp_type == IB_QPT_GSI && dev->gsi_qp_created) { 1098 if ((attrs->qp_type ! [all...] |
/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_verbs.c | 371 switch (qp_grp->ibqp.qp_type) { 376 usnic_err("Unexpected qp_type %d\n", qp_grp->ibqp.qp_type); 486 if (init_attr->qp_type != IB_QPT_UD) { 488 us_ibdev->ib_dev.name, init_attr->qp_type);
|
/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_verbs.c | 142 .qp_type = IB_QPT_UD
|