Home
last modified time | relevance | path

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

12

/Linux-v5.10/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.10/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) |
335 case IB_QPT_GSI: in hfi1_setup_wqe()
/Linux-v5.10/drivers/infiniband/hw/hns/
Dhns_roce_qp.c162 if (hr_qp->ibqp.qp_type == IB_QPT_GSI) { in alloc_qpn()
261 if (hr_qp->ibqp.qp_type == IB_QPT_GSI && in alloc_qpc()
334 if (hr_qp->ibqp.qp_type == IB_QPT_GSI && in free_qpc()
347 if (hr_qp->ibqp.qp_type == IB_QPT_GSI) in free_qpn()
424 if (hr_qp->ibqp.qp_type == IB_QPT_GSI || in set_extend_sge_param()
1017 case IB_QPT_GSI: in hns_roce_create_qp()
1029 if (init_attr->qp_type == IB_QPT_GSI) { in hns_roce_create_qp()
1055 else if (qp_type == IB_QPT_GSI) in to_hr_qp_type()
/Linux-v5.10/drivers/infiniband/sw/rxe/
Drxe_recv.c33 case IB_QPT_GSI: in check_type_state()
88 if ((qp_type(qp) == IB_QPT_UD || qp_type(qp) == IB_QPT_GSI) && in check_keys()
Drxe_qp.c73 if (init->qp_type == IB_QPT_SMI || init->qp_type == IB_QPT_GSI) { in rxe_qp_chk_init()
86 if (init->qp_type == IB_QPT_GSI && port->qp_gsi_index) { in rxe_qp_chk_init()
170 case IB_QPT_GSI: in rxe_qp_init_misc()
Drxe_opcode.c33 [IB_QPT_GSI] = WR_INLINE_MASK | WR_SEND_MASK,
43 [IB_QPT_GSI] = WR_INLINE_MASK | WR_SEND_MASK,
Drxe_verbs.c508 qp_type(qp) == IB_QPT_GSI) { in init_send_wr()
511 if (qp_type(qp) == IB_QPT_GSI) in init_send_wr()
567 qp_type(qp) == IB_QPT_GSI) in init_send_wqe()
Drxe_resp.c278 case IB_QPT_GSI: in check_op_valid()
764 qp_type(qp) == IB_QPT_GSI) { in execute()
/Linux-v5.10/drivers/infiniband/core/
Dverbs.c1322 [IB_QPT_GSI] = (IB_QP_PKEY_INDEX |
1350 [IB_QPT_GSI] = (IB_QP_PKEY_INDEX |
1395 [IB_QPT_GSI] = (IB_QP_PKEY_INDEX |
1421 [IB_QPT_GSI] = IB_QP_SQ_PSN,
1446 [IB_QPT_GSI] = (IB_QP_CUR_STATE |
1480 [IB_QPT_GSI] = (IB_QP_CUR_STATE |
1494 [IB_QPT_GSI] = IB_QP_EN_SQD_ASYNC_NOTIFY
1526 [IB_QPT_GSI] = (IB_QP_CUR_STATE |
1573 [IB_QPT_GSI] = (IB_QP_PKEY_INDEX |
1590 [IB_QPT_GSI] = (IB_QP_CUR_STATE |
Dagent.c177 IB_QPT_GSI, NULL, 0, in ib_agent_port_open()
Dsecurity.c581 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.10/drivers/infiniband/hw/mlx4/
Dmad.c530 if (dest_qpt > IB_QPT_GSI) { in mlx4_ib_send_to_slave()
1033 q ? IB_QPT_GSI : IB_QPT_SMI, in mlx4_ib_mad_init()
1588 IB_QPT_SMI : IB_QPT_GSI, in mlx4_ib_multiplex_mad()
1607 if (qp_type > IB_QPT_GSI) in mlx4_ib_alloc_pv_bufs()
1703 if (qp_type > IB_QPT_GSI) in mlx4_ib_free_pv_qp_bufs()
1804 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()
2037 ret = create_pv_sqp(ctx, IB_QPT_GSI, create_tun); in create_pv_resources()
2080 mlx4_ib_free_pv_qp_bufs(ctx, IB_QPT_GSI, create_tun); in create_pv_resources()
2106 mlx4_ib_free_pv_qp_bufs(ctx, IB_QPT_GSI, 1); in destroy_pv_resources()
[all …]
Dqp.c970 if (init_attr->qp_type == IB_QPT_GSI) in create_qp_common()
988 tnl_init->proxy_qp_type != IB_QPT_GSI) || in create_qp_common()
991 if (tnl_init->proxy_qp_type == IB_QPT_GSI) in create_qp_common()
1007 init_attr->qp_type == IB_QPT_GSI || qp_type == MLX4_IB_QPT_SMI || in create_qp_common()
1512 init_attr->qp_type > IB_QPT_GSI) || in _mlx4_ib_create_qp()
1514 init_attr->qp_type != IB_QPT_GSI)) in _mlx4_ib_create_qp()
1543 case IB_QPT_GSI: in _mlx4_ib_create_qp()
1595 if (init_attr->qp_type == IB_QPT_GSI && in mlx4_ib_create_qp()
2150 if (qp_type == IB_QPT_GSI || qp_type == IB_QPT_SMI) in __mlx4_ib_modify_qp()
2236 if (qp_type == IB_QPT_GSI) { in __mlx4_ib_modify_qp()
[all …]
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.10/drivers/infiniband/hw/qedr/
Dqedr.h619 if (qp->qp_type == IB_QPT_GSI || qp->qp_type == IB_QPT_XRC_TGT) in qedr_qp_has_sq()
627 if (qp->qp_type == IB_QPT_GSI || qp->qp_type == IB_QPT_XRC_INI || in qedr_qp_has_rq()
Dverbs.c1203 attrs->qp_type != IB_QPT_GSI && in qedr_check_qp_attrs()
1243 if ((attrs->qp_type != IB_QPT_GSI) && (dev->gsi_qp_created) && in qedr_check_qp_attrs()
2121 if (qp->qp_type == IB_QPT_GSI) in qedr_cleanup_kernel()
2219 if (qp->qp_type != IB_QPT_GSI) { in qedr_free_qp_resources()
2275 if (attrs->qp_type == IB_QPT_GSI) { in qedr_create_qp()
2703 if ((attr_mask & IB_QP_STATE) && qp->qp_type != IB_QPT_GSI && in qedr_modify_qp()
2707 if (qp->qp_type != IB_QPT_GSI) in qedr_modify_qp()
2712 if ((qp->qp_type != IB_QPT_GSI) && (!udata)) in qedr_modify_qp()
2848 if (qp->qp_type == IB_QPT_GSI) in qedr_destroy_qp()
3743 if (qp->qp_type == IB_QPT_GSI) in qedr_post_send()
[all …]
/Linux-v5.10/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1099 if ((attrs->qp_type != IB_QPT_GSI) && in ocrdma_check_qp_params()
1108 if ((attrs->qp_type != IB_QPT_GSI) && in ocrdma_check_qp_params()
1145 if (udata && attrs->qp_type == IB_QPT_GSI) { in ocrdma_check_qp_params()
1152 if (attrs->qp_type == IB_QPT_GSI && dev->gsi_qp_created) { in ocrdma_check_qp_params()
1158 if ((attrs->qp_type != IB_QPT_GSI) && (dev->gsi_qp_created)) { in ocrdma_check_qp_params()
1284 if (attrs->qp_type == IB_QPT_GSI) { in ocrdma_store_gsi_qp_cq()
1881 if (qp->qp_type == IB_QPT_GSI) in ocrdma_build_ud_hdr()
1965 if (qp->qp_type == IB_QPT_UD || qp->qp_type == IB_QPT_GSI) { in ocrdma_build_send()
2451 if (qp->qp_type == IB_QPT_UD || qp->qp_type == IB_QPT_GSI) { in ocrdma_set_cqe_status_flushed()
2691 if (qp->qp_type == IB_QPT_UD || qp->qp_type == IB_QPT_GSI) in ocrdma_poll_success_rcqe()
[all …]
/Linux-v5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c217 init_attr->qp_type != IB_QPT_GSI) { in pvrdma_create_qp()
233 case IB_QPT_GSI: in pvrdma_create_qp()
755 qp->ibqp.qp_type == IB_QPT_GSI) { in pvrdma_post_send()
783 case IB_QPT_GSI: in pvrdma_post_send()
/Linux-v5.10/drivers/infiniband/hw/mthca/
Dmthca_mad.c294 q ? IB_QPT_GSI : IB_QPT_SMI, in mthca_create_agents()
/Linux-v5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c813 if (ib_qp->qp_type == IB_QPT_GSI && rdev->gsi_ctx.gsi_sqp) { in bnxt_re_destroy_qp()
836 case IB_QPT_GSI: in __from_ib_qp_type()
1233 init_attr->qp_type == IB_QPT_GSI) in bnxt_re_init_qp_type()
1306 if (init_attr->qp_type == IB_QPT_GSI) in bnxt_re_init_qp_attr()
1313 if (init_attr->qp_type == IB_QPT_GSI) in bnxt_re_init_qp_attr()
1441 if (qp_init_attr->qp_type == IB_QPT_GSI && in bnxt_re_create_qp()
1468 if (qp_init_attr->qp_type == IB_QPT_GSI) in bnxt_re_create_qp()
2055 if (ib_qp->qp_type == IB_QPT_GSI && rdev->gsi_ctx.gsi_sqp) in bnxt_re_modify_qp()
2549 qp->ib_qp.qp_type == IB_QPT_GSI || in bnxt_ud_qp_hw_stall_workaround()
2771 if (ib_qp->qp_type == IB_QPT_GSI && in bnxt_re_post_recv()
/Linux-v5.10/drivers/infiniband/sw/rdmavt/
Dqp.c544 if (type == IB_QPT_SMI || type == IB_QPT_GSI) { in alloc_qpn()
547 ret = type == IB_QPT_GSI; in alloc_qpn()
735 qp->ibqp.qp_type == IB_QPT_GSI) in rvt_qp_mr_clean()
1110 case IB_QPT_GSI: in rvt_create_qp()
1531 qp->ibqp.qp_type == IB_QPT_GSI || in rvt_modify_qp()

12