Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
366 qib_get_pkey(ibp, qp->ibqp.qp_type == IB_QPT_GSI ? in qib_make_ud_req()
566 wc.pkey_index = qp->ibqp.qp_type == IB_QPT_GSI ? in qib_ud_rcv()
Dqib_driver.c412 case IB_QPT_GSI: in qib_rcv_hdrerr()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dud.c55 sqptype = sqp->ibqp.qp_type == IB_QPT_GSI ? in ud_loopback()
57 dqptype = qp->ibqp.qp_type == IB_QPT_GSI ? in ud_loopback()
198 if (qp->ibqp.qp_type == IB_QPT_GSI || qp->ibqp.qp_type == IB_QPT_SMI) { in ud_loopback()
199 if (sqp->ibqp.qp_type == IB_QPT_GSI || in ud_loopback()
210 if (wc.slid == 0 && sqp->ibqp.qp_type == IB_QPT_GSI) in ud_loopback()
242 if (qp->ibqp.qp_type == IB_QPT_GSI || qp->ibqp.qp_type == IB_QPT_SMI) in hfi1_make_bth_deth()
485 (qp->ibqp.qp_type == IB_QPT_GSI))))) { in hfi1_make_ud_req()
991 if (qp->ibqp.qp_type == IB_QPT_GSI || in hfi1_ud_rcv()
Dqp.c66 .qpt_support = BIT(IB_QPT_UD) | BIT(IB_QPT_SMI) | BIT(IB_QPT_GSI) |
72 .qpt_support = BIT(IB_QPT_UD) | BIT(IB_QPT_SMI) | BIT(IB_QPT_GSI) |
293 case IB_QPT_GSI: in hfi1_setup_wqe()
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_qp.c219 if (hr_qp->ibqp.qp_type == IB_QPT_GSI) { in alloc_qpn()
389 if (hr_qp->ibqp.qp_type == IB_QPT_GSI) in free_qpn()
468 hr_qp->ibqp.qp_type != IB_QPT_GSI) in set_rq_size()
497 if (!(hr_qp->ibqp.qp_type == IB_QPT_GSI || in update_inline_data()
541 bool is_ud_or_gsi = (hr_qp->ibqp.qp_type == IB_QPT_GSI || in set_ext_sge_param()
1242 case IB_QPT_GSI: in check_qp_type()
1272 if (init_attr->qp_type == IB_QPT_GSI) { in hns_roce_create_qp()
1291 case IB_QPT_GSI: in to_hr_qp_type()
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_recv.c33 case IB_QPT_GSI: in check_type_state()
80 if (qp_type(qp) == IB_QPT_UD || qp_type(qp) == IB_QPT_GSI) { in check_keys()
Drxe_qp.c66 case IB_QPT_GSI: in rxe_qp_chk_init()
83 if (init->qp_type == IB_QPT_GSI) { in rxe_qp_chk_init()
91 if (init->qp_type == IB_QPT_GSI && port->qp_gsi_index) { in rxe_qp_chk_init()
162 case IB_QPT_GSI: in rxe_qp_init_misc()
Drxe_opcode.c32 [IB_QPT_GSI] = WR_INLINE_MASK | WR_SEND_MASK,
41 [IB_QPT_GSI] = WR_INLINE_MASK | WR_SEND_MASK,
Drxe_verbs.c532 qp_type(qp) == IB_QPT_GSI) { in init_send_wr()
538 if (qp_type(qp) == IB_QPT_GSI) in init_send_wr()
Drxe_resp.c282 case IB_QPT_GSI: in check_op_valid()
866 qp_type(qp) == IB_QPT_GSI) { in execute()
/linux-6.1.9/drivers/infiniband/core/
Dverbs.c1404 [IB_QPT_GSI] = (IB_QP_PKEY_INDEX |
1432 [IB_QPT_GSI] = (IB_QP_PKEY_INDEX |
1477 [IB_QPT_GSI] = (IB_QP_PKEY_INDEX |
1503 [IB_QPT_GSI] = IB_QP_SQ_PSN,
1528 [IB_QPT_GSI] = (IB_QP_CUR_STATE |
1562 [IB_QPT_GSI] = (IB_QP_CUR_STATE |
1576 [IB_QPT_GSI] = IB_QP_EN_SQD_ASYNC_NOTIFY
1608 [IB_QPT_GSI] = (IB_QP_CUR_STATE |
1655 [IB_QPT_GSI] = (IB_QP_PKEY_INDEX |
1672 [IB_QPT_GSI] = (IB_QP_CUR_STATE |
Dagent.c177 IB_QPT_GSI, NULL, 0, in ib_agent_port_open()
Drestrack.c245 if (qp->qp_type == IB_QPT_SMI || qp->qp_type == IB_QPT_GSI) in rdma_restrack_add()
Dsecurity.c581 real_qp->qp_type == IB_QPT_GSI || in ib_security_modify_qp()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dmad.c531 if (dest_qpt > IB_QPT_GSI) { in mlx4_ib_send_to_slave()
1035 q ? IB_QPT_GSI : IB_QPT_SMI, in mlx4_ib_mad_init()
1591 IB_QPT_SMI : IB_QPT_GSI, in mlx4_ib_multiplex_mad()
1610 if (qp_type > IB_QPT_GSI) in mlx4_ib_alloc_pv_bufs()
1706 if (qp_type > IB_QPT_GSI) in mlx4_ib_free_pv_qp_bufs()
1807 if (qp_type > IB_QPT_GSI) in create_pv_sqp()
2004 ret = mlx4_ib_alloc_pv_bufs(ctx, IB_QPT_GSI, create_tun); in create_pv_resources()
2040 ret = create_pv_sqp(ctx, IB_QPT_GSI, create_tun); in create_pv_resources()
2083 mlx4_ib_free_pv_qp_bufs(ctx, IB_QPT_GSI, create_tun); in create_pv_resources()
2109 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()
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()
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-6.1.9/drivers/infiniband/hw/qedr/
Dqedr.h621 if (qp->qp_type == IB_QPT_GSI || qp->qp_type == IB_QPT_XRC_TGT) in qedr_qp_has_sq()
629 if (qp->qp_type == IB_QPT_GSI || qp->qp_type == IB_QPT_XRC_INI || in qedr_qp_has_rq()
Dverbs.c1198 attrs->qp_type != IB_QPT_GSI && in qedr_check_qp_attrs()
1238 if ((attrs->qp_type != IB_QPT_GSI) && (dev->gsi_qp_created) && in qedr_check_qp_attrs()
2138 if (qp->qp_type == IB_QPT_GSI) in qedr_cleanup_kernel()
2236 if (qp->qp_type != IB_QPT_GSI) { in qedr_free_qp_resources()
2285 if (attrs->qp_type == IB_QPT_GSI) in qedr_create_qp()
2699 if ((attr_mask & IB_QP_STATE) && qp->qp_type != IB_QPT_GSI && in qedr_modify_qp()
2703 if (qp->qp_type != IB_QPT_GSI) in qedr_modify_qp()
2708 if ((qp->qp_type != IB_QPT_GSI) && (!udata)) in qedr_modify_qp()
2745 if (qp->qp_type != IB_QPT_GSI) { in qedr_query_qp()
2847 if (qp->qp_type == IB_QPT_GSI) in qedr_destroy_qp()
[all …]
/linux-6.1.9/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1101 if ((attrs->qp_type != IB_QPT_GSI) && in ocrdma_check_qp_params()
1110 if ((attrs->qp_type != IB_QPT_GSI) && in ocrdma_check_qp_params()
1147 if (udata && attrs->qp_type == IB_QPT_GSI) { in ocrdma_check_qp_params()
1154 if (attrs->qp_type == IB_QPT_GSI && dev->gsi_qp_created) { in ocrdma_check_qp_params()
1160 if ((attrs->qp_type != IB_QPT_GSI) && (dev->gsi_qp_created)) { in ocrdma_check_qp_params()
1286 if (attrs->qp_type == IB_QPT_GSI) { in ocrdma_store_gsi_qp_cq()
1883 if (qp->qp_type == IB_QPT_GSI) in ocrdma_build_ud_hdr()
1966 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-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c216 init_attr->qp_type != IB_QPT_GSI) { in pvrdma_create_qp()
232 case IB_QPT_GSI: in pvrdma_create_qp()
747 qp->ibqp.qp_type == IB_QPT_GSI) { in pvrdma_post_send()
775 case IB_QPT_GSI: in pvrdma_post_send()
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_mad.c294 q ? IB_QPT_GSI : IB_QPT_SMI, in mthca_create_agents()
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c819 if (ib_qp->qp_type == IB_QPT_GSI && rdev->gsi_ctx.gsi_sqp) { in bnxt_re_destroy_qp()
839 case IB_QPT_GSI: in __from_ib_qp_type()
1233 init_attr->qp_type == IB_QPT_GSI) in bnxt_re_init_qp_type()
1298 if (init_attr->qp_type == IB_QPT_GSI) in bnxt_re_init_qp_attr()
1305 if (init_attr->qp_type == IB_QPT_GSI) in bnxt_re_init_qp_attr()
1428 if (qp_init_attr->qp_type == IB_QPT_GSI && in bnxt_re_create_qp()
1455 if (qp_init_attr->qp_type == IB_QPT_GSI) in bnxt_re_create_qp()
2044 if (ib_qp->qp_type == IB_QPT_GSI && rdev->gsi_ctx.gsi_sqp) in bnxt_re_modify_qp()
2540 qp->ib_qp.qp_type == IB_QPT_GSI || in bnxt_ud_qp_hw_stall_workaround()
2762 if (ib_qp->qp_type == IB_QPT_GSI && in bnxt_re_post_recv()
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dqp.c504 if (type == IB_QPT_SMI || type == IB_QPT_GSI) { in alloc_qpn()
507 ret = type == IB_QPT_GSI; in alloc_qpn()
695 qp->ibqp.qp_type == IB_QPT_GSI) in rvt_qp_mr_clean()
1072 case IB_QPT_GSI: in rvt_create_qp()
1478 qp->ibqp.qp_type == IB_QPT_GSI || in rvt_modify_qp()

12