Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/
H A 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()
H A 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()
H A Dqib_driver.c411 case IB_QPT_GSI: in qib_rcv_hdrerr()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hns/
H A 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()
421 if (hr_qp->ibqp.qp_type == IB_QPT_GSI || in set_extend_sge_param()
1031 case IB_QPT_GSI: in hns_roce_create_qp()
1043 if (init_attr->qp_type == IB_QPT_GSI) { in hns_roce_create_qp()
1069 else if (qp_type == IB_QPT_GSI) in to_hr_qp_type()
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A 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 |
H A Dagent.c177 IB_QPT_GSI, NULL, 0, in ib_agent_port_open()
H A Dsecurity.c581 real_qp->qp_type == IB_QPT_GSI || in ib_security_modify_qp()
H A Duser_mad.c740 ureq.qpn ? IB_QPT_GSI : IB_QPT_SMI, in ib_umad_reg_agent()
856 ureq.qpn ? IB_QPT_GSI : IB_QPT_SMI, in ib_umad_reg_agent2()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx4/
H A 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 …]
H A 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()
1514 init_attr->qp_type > IB_QPT_GSI) || in _mlx4_ib_create_qp()
1516 init_attr->qp_type != IB_QPT_GSI)) in _mlx4_ib_create_qp()
1545 case IB_QPT_GSI: in _mlx4_ib_create_qp()
1597 if (init_attr->qp_type == IB_QPT_GSI && in mlx4_ib_create_qp()
2152 if (qp_type == IB_QPT_GSI || qp_type == IB_QPT_SMI) in __mlx4_ib_modify_qp()
2238 if (qp_type == IB_QPT_GSI) { in __mlx4_ib_modify_qp()
[all …]
H A 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()
/OK3568_Linux_fs/kernel/drivers/infiniband/sw/rxe/
H A Drxe_recv.c38 case IB_QPT_GSI: in check_type_state()
93 if ((qp_type(qp) == IB_QPT_UD || qp_type(qp) == IB_QPT_GSI) && in check_keys()
H A 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()
169 case IB_QPT_GSI: in rxe_qp_init_misc()
H A 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()
H A Drxe_opcode.c33 [IB_QPT_GSI] = WR_INLINE_MASK | WR_SEND_MASK,
43 [IB_QPT_GSI] = WR_INLINE_MASK | WR_SEND_MASK,
H A Drxe_resp.c278 case IB_QPT_GSI: in check_op_valid()
764 qp_type(qp) == IB_QPT_GSI) { in execute()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/ocrdma/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/qedr/
H A Dqedr.h620 if (qp->qp_type == IB_QPT_GSI || qp->qp_type == IB_QPT_XRC_TGT) in qedr_qp_has_sq()
628 if (qp->qp_type == IB_QPT_GSI || qp->qp_type == IB_QPT_XRC_INI || in qedr_qp_has_rq()
H A 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()
2124 if (qp->qp_type == IB_QPT_GSI) in qedr_cleanup_kernel()
2222 if (qp->qp_type != IB_QPT_GSI) { in qedr_free_qp_resources()
2278 if (attrs->qp_type == IB_QPT_GSI) { in qedr_create_qp()
2708 if ((attr_mask & IB_QP_STATE) && qp->qp_type != IB_QPT_GSI && in qedr_modify_qp()
2712 if (qp->qp_type != IB_QPT_GSI) in qedr_modify_qp()
2717 if ((qp->qp_type != IB_QPT_GSI) && (!udata)) in qedr_modify_qp()
2754 if (qp->qp_type != IB_QPT_GSI) { in qedr_query_qp()
2856 if (qp->qp_type == IB_QPT_GSI) in qedr_destroy_qp()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/vmw_pvrdma/
H A 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()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/bnxt_re/
H A 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()
2056 if (ib_qp->qp_type == IB_QPT_GSI && rdev->gsi_ctx.gsi_sqp) in bnxt_re_modify_qp()
2551 qp->ib_qp.qp_type == IB_QPT_GSI || in bnxt_ud_qp_hw_stall_workaround()
2773 if (ib_qp->qp_type == IB_QPT_GSI && in bnxt_re_post_recv()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c294 q ? IB_QPT_GSI : IB_QPT_SMI, in mthca_create_agents()
/OK3568_Linux_fs/kernel/drivers/infiniband/sw/rdmavt/
H A 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