Home
last modified time | relevance | path

Searched refs:IB_QPT_GSI (Results 1 – 25 of 43) sorted by relevance

12

/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_qp.c95 .qpt_support = BIT(IB_QPT_UD) | BIT(IB_QPT_SMI) | BIT(IB_QPT_GSI) |
101 .qpt_support = BIT(IB_QPT_UD) | BIT(IB_QPT_SMI) | BIT(IB_QPT_GSI) |
138 if (type == IB_QPT_SMI || type == IB_QPT_GSI) { in qib_alloc_qpn()
141 ret = type == IB_QPT_GSI; in qib_alloc_qpn()
399 case IB_QPT_GSI: in qib_check_send_wqe()
Dqib_ud.c73 sqptype = sqp->ibqp.qp_type == IB_QPT_GSI ? in qib_ud_loopback()
75 dqptype = qp->ibqp.qp_type == IB_QPT_GSI ? in qib_ud_loopback()
206 wc.pkey_index = qp->ibqp.qp_type == IB_QPT_GSI ? in qib_ud_loopback()
365 qib_get_pkey(ibp, qp->ibqp.qp_type == IB_QPT_GSI ? in qib_make_ud_req()
565 wc.pkey_index = qp->ibqp.qp_type == IB_QPT_GSI ? in qib_ud_rcv()
Dqib_driver.c411 case IB_QPT_GSI: in qib_rcv_hdrerr()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dud.c97 sqptype = sqp->ibqp.qp_type == IB_QPT_GSI ? in ud_loopback()
99 dqptype = qp->ibqp.qp_type == IB_QPT_GSI ? in ud_loopback()
240 if (qp->ibqp.qp_type == IB_QPT_GSI || qp->ibqp.qp_type == IB_QPT_SMI) { in ud_loopback()
241 if (sqp->ibqp.qp_type == IB_QPT_GSI || in ud_loopback()
252 if (wc.slid == 0 && sqp->ibqp.qp_type == IB_QPT_GSI) in ud_loopback()
284 if (qp->ibqp.qp_type == IB_QPT_GSI || qp->ibqp.qp_type == IB_QPT_SMI) in hfi1_make_bth_deth()
526 (qp->ibqp.qp_type == IB_QPT_GSI))))) { in hfi1_make_ud_req()
1037 if (qp->ibqp.qp_type == IB_QPT_GSI || in hfi1_ud_rcv()
Dqp.c108 .qpt_support = BIT(IB_QPT_UD) | BIT(IB_QPT_SMI) | BIT(IB_QPT_GSI) |
114 .qpt_support = BIT(IB_QPT_UD) | BIT(IB_QPT_SMI) | BIT(IB_QPT_GSI) |
349 case IB_QPT_GSI: in hfi1_setup_wqe()
/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_qp.c252 if ((hr_qp->ibqp.qp_type) != IB_QPT_GSI) { in hns_roce_qp_free()
531 if (hr_dev->caps.max_sq_sg > 2 && hr_qp->ibqp.qp_type == IB_QPT_GSI) { in set_extend_sge_param()
916 if (init_attr->qp_type == IB_QPT_GSI && in hns_roce_create_qp_common()
956 if (init_attr->qp_type == IB_QPT_GSI && in hns_roce_create_qp_common()
1043 case IB_QPT_GSI: { in hns_roce_create_qp()
1095 else if (qp_type == IB_QPT_GSI) in to_hr_qp_type()
/Linux-v5.4/drivers/infiniband/core/
Dverbs.c1281 [IB_QPT_GSI] = (IB_QP_PKEY_INDEX |
1309 [IB_QPT_GSI] = (IB_QP_PKEY_INDEX |
1354 [IB_QPT_GSI] = (IB_QP_PKEY_INDEX |
1380 [IB_QPT_GSI] = IB_QP_SQ_PSN,
1405 [IB_QPT_GSI] = (IB_QP_CUR_STATE |
1439 [IB_QPT_GSI] = (IB_QP_CUR_STATE |
1453 [IB_QPT_GSI] = IB_QP_EN_SQD_ASYNC_NOTIFY
1485 [IB_QPT_GSI] = (IB_QP_CUR_STATE |
1532 [IB_QPT_GSI] = (IB_QP_PKEY_INDEX |
1549 [IB_QPT_GSI] = (IB_QP_CUR_STATE |
Dagent.c177 IB_QPT_GSI, NULL, 0, in ib_agent_port_open()
Dsecurity.c588 real_qp->qp_type == IB_QPT_GSI || in ib_security_modify_qp()
Duser_mad.c726 ureq.qpn ? IB_QPT_GSI : IB_QPT_SMI, in ib_umad_reg_agent()
842 ureq.qpn ? IB_QPT_GSI : IB_QPT_SMI, in ib_umad_reg_agent2()
/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe_recv.c60 case IB_QPT_GSI: in check_type_state()
136 if ((qp_type(qp) == IB_QPT_UD || qp_type(qp) == IB_QPT_GSI) && in check_keys()
Drxe_qp.c100 if (init->qp_type == IB_QPT_SMI || init->qp_type == IB_QPT_GSI) { in rxe_qp_chk_init()
113 if (init->qp_type == IB_QPT_GSI && port->qp_gsi_index) { in rxe_qp_chk_init()
197 case IB_QPT_GSI: in rxe_qp_init_misc()
Drxe_opcode.c60 [IB_QPT_GSI] = WR_INLINE_MASK | WR_SEND_MASK,
70 [IB_QPT_GSI] = WR_INLINE_MASK | WR_SEND_MASK,
Drxe_req.c331 case IB_QPT_GSI: in next_opcode()
422 pkey = (qp_type(qp) == IB_QPT_GSI) ? in init_req_packet()
Drxe_verbs.c540 qp_type(qp) == IB_QPT_GSI) { in init_send_wr()
543 if (qp_type(qp) == IB_QPT_GSI) in init_send_wr()
599 qp_type(qp) == IB_QPT_GSI) in init_send_wqe()
Drxe_resp.c305 case IB_QPT_GSI: in check_op_valid()
784 qp_type(qp) == IB_QPT_GSI) { in execute()
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dmad.c523 if (dest_qpt > IB_QPT_GSI) in mlx4_ib_send_to_slave()
1043 q ? IB_QPT_GSI : IB_QPT_SMI, in mlx4_ib_mad_init()
1593 IB_QPT_SMI : IB_QPT_GSI, in mlx4_ib_multiplex_mad()
1607 if (qp_type > IB_QPT_GSI) in mlx4_ib_alloc_pv_bufs()
1702 if (qp_type > IB_QPT_GSI) in mlx4_ib_free_pv_qp_bufs()
1805 if (qp_type > IB_QPT_GSI) in create_pv_sqp()
2001 ret = mlx4_ib_alloc_pv_bufs(ctx, IB_QPT_GSI, create_tun); in create_pv_resources()
2036 ret = create_pv_sqp(ctx, IB_QPT_GSI, create_tun); in create_pv_resources()
2078 mlx4_ib_free_pv_qp_bufs(ctx, IB_QPT_GSI, create_tun); in create_pv_resources()
2104 mlx4_ib_free_pv_qp_bufs(ctx, IB_QPT_GSI, 1); in destroy_pv_resources()
[all …]
Dqp.c1010 if (init_attr->qp_type == IB_QPT_GSI) in create_qp_common()
1028 tnl_init->proxy_qp_type != IB_QPT_GSI) || in create_qp_common()
1031 if (tnl_init->proxy_qp_type == IB_QPT_GSI) in create_qp_common()
1570 init_attr->qp_type > IB_QPT_GSI) || in _mlx4_ib_create_qp()
1572 init_attr->qp_type != IB_QPT_GSI)) in _mlx4_ib_create_qp()
1610 case IB_QPT_GSI: in _mlx4_ib_create_qp()
1655 (init_attr->qp_type == IB_QPT_GSI) && in mlx4_ib_create_qp()
2212 if (qp_type == IB_QPT_GSI || qp_type == IB_QPT_SMI) in __mlx4_ib_modify_qp()
2298 if (qp_type == IB_QPT_GSI) { in __mlx4_ib_modify_qp()
2465 (qp_type == IB_QPT_GSI || qp_type == IB_QPT_SMI || in __mlx4_ib_modify_qp()
Dmcg.c224 ctx->port, IB_QPT_GSI, 0, 1, IB_QP1_QKEY, in send_mad_to_wire()
249 return mlx4_ib_send_to_slave(dev, slave, ctx->port, IB_QPT_GSI, &wc, NULL, mad); in send_mad_to_slave()
/Linux-v5.4/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1114 if ((attrs->qp_type != IB_QPT_GSI) && in ocrdma_check_qp_params()
1123 if ((attrs->qp_type != IB_QPT_GSI) && in ocrdma_check_qp_params()
1160 if (udata && attrs->qp_type == IB_QPT_GSI) { in ocrdma_check_qp_params()
1167 if (attrs->qp_type == IB_QPT_GSI && dev->gsi_qp_created) { in ocrdma_check_qp_params()
1173 if ((attrs->qp_type != IB_QPT_GSI) && (dev->gsi_qp_created)) { in ocrdma_check_qp_params()
1299 if (attrs->qp_type == IB_QPT_GSI) { in ocrdma_store_gsi_qp_cq()
1895 if (qp->qp_type == IB_QPT_GSI) in ocrdma_build_ud_hdr()
1979 if (qp->qp_type == IB_QPT_UD || qp->qp_type == IB_QPT_GSI) { in ocrdma_build_send()
2465 if (qp->qp_type == IB_QPT_UD || qp->qp_type == IB_QPT_GSI) { in ocrdma_set_cqe_status_flushed()
2705 if (qp->qp_type == IB_QPT_UD || qp->qp_type == IB_QPT_GSI) in ocrdma_poll_success_rcqe()
[all …]
/Linux-v5.4/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c212 init_attr->qp_type != IB_QPT_GSI) { in pvrdma_create_qp()
228 case IB_QPT_GSI: in pvrdma_create_qp()
694 qp->ibqp.qp_type == IB_QPT_GSI) { in pvrdma_post_send()
722 case IB_QPT_GSI: in pvrdma_post_send()
/Linux-v5.4/drivers/infiniband/hw/mthca/
Dmthca_mad.c306 q ? IB_QPT_GSI : IB_QPT_SMI, in mthca_create_agents()
/Linux-v5.4/drivers/infiniband/hw/qedr/
Dverbs.c1077 if (attrs->qp_type != IB_QPT_RC && attrs->qp_type != IB_QPT_GSI) { in qedr_check_qp_attrs()
1113 if (udata && attrs->qp_type == IB_QPT_GSI) { in qedr_check_qp_attrs()
1903 if (attrs->qp_type == IB_QPT_GSI) { in qedr_create_qp()
2329 if ((attr_mask & IB_QP_STATE) && qp->qp_type != IB_QPT_GSI && in qedr_modify_qp()
2333 if (qp->qp_type != IB_QPT_GSI) in qedr_modify_qp()
2338 if ((qp->qp_type != IB_QPT_GSI) && (!udata)) in qedr_modify_qp()
2434 if (qp->qp_type != IB_QPT_GSI) { in qedr_free_qp_resources()
2488 if (qp->qp_type == IB_QPT_GSI) in qedr_destroy_qp()
3378 if (qp->qp_type == IB_QPT_GSI) in qedr_post_send()
3535 if (qp->qp_type == IB_QPT_GSI) in qedr_post_recv()
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c786 if (ib_qp->qp_type == IB_QPT_GSI && rdev->qp1_sqp) { in bnxt_re_destroy_qp()
825 case IB_QPT_GSI: in __from_ib_qp_type()
1030 if (qp_init_attr->qp_type == IB_QPT_GSI && in bnxt_re_create_qp()
1100 if (qp_init_attr->qp_type == IB_QPT_GSI && in bnxt_re_create_qp()
1770 if (ib_qp->qp_type == IB_QPT_GSI && rdev->qp1_sqp) in bnxt_re_modify_qp()
2261 qp->ib_qp.qp_type == IB_QPT_GSI || in bnxt_ud_qp_hw_stall_workaround()
2486 if (ib_qp->qp_type == IB_QPT_GSI && in bnxt_re_post_recv()
/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dqp.c538 if (type == IB_QPT_SMI || type == IB_QPT_GSI) { in alloc_qpn()
541 ret = type == IB_QPT_GSI; in alloc_qpn()
729 qp->ibqp.qp_type == IB_QPT_GSI) in rvt_qp_mr_clean()
1080 case IB_QPT_GSI: in rvt_create_qp()
1493 qp->ibqp.qp_type == IB_QPT_GSI || in rvt_modify_qp()

12