/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_qp.c | 95 .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 D | qib_ud.c | 73 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()
|
H A D | qib_driver.c | 412 case IB_QPT_GSI: in qib_rcv_hdrerr()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | ud.c | 55 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()
|
H A D | qp.c | 66 .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()
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_recv.c | 34 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()
|
H A D | rxe_qp.c | 66 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()
|
H A D | rxe_opcode.c | 32 [IB_QPT_GSI] = WR_INLINE_MASK | WR_SEND_MASK, 41 [IB_QPT_GSI] = WR_INLINE_MASK | WR_SEND_MASK,
|
H A D | rxe_resp.c | 258 case IB_QPT_GSI: in check_op_valid() 357 if ((qp_type(qp) == IB_QPT_GSI) || (qp_type(qp) == IB_QPT_UD)) { in rxe_resp_check_length() 1001 qp_type(qp) == IB_QPT_GSI) { in execute()
|
/openbmc/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_qp.c | 235 if (hr_qp->ibqp.qp_type == IB_QPT_GSI) { in alloc_qpn() 405 if (hr_qp->ibqp.qp_type == IB_QPT_GSI) in free_qpn() 506 if (!(hr_qp->ibqp.qp_type == IB_QPT_GSI || in update_inline_data() 552 bool is_ud_or_gsi = (hr_qp->ibqp.qp_type == IB_QPT_GSI || in set_ext_sge_param() 1196 case IB_QPT_GSI: in check_qp_type() 1226 if (init_attr->qp_type == IB_QPT_GSI) { in hns_roce_create_qp() 1245 case IB_QPT_GSI: in to_hr_qp_type()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | verbs.c | 1406 [IB_QPT_GSI] = (IB_QP_PKEY_INDEX | 1434 [IB_QPT_GSI] = (IB_QP_PKEY_INDEX | 1479 [IB_QPT_GSI] = (IB_QP_PKEY_INDEX | 1505 [IB_QPT_GSI] = IB_QP_SQ_PSN, 1530 [IB_QPT_GSI] = (IB_QP_CUR_STATE | 1564 [IB_QPT_GSI] = (IB_QP_CUR_STATE | 1578 [IB_QPT_GSI] = IB_QP_EN_SQD_ASYNC_NOTIFY 1610 [IB_QPT_GSI] = (IB_QP_CUR_STATE | 1657 [IB_QPT_GSI] = (IB_QP_PKEY_INDEX | 1674 [IB_QPT_GSI] = (IB_QP_CUR_STATE |
|
H A D | agent.c | 177 IB_QPT_GSI, NULL, 0, in ib_agent_port_open()
|
H A D | restrack.c | 196 if (qp->qp_type == IB_QPT_SMI || qp->qp_type == IB_QPT_GSI) in rdma_restrack_add()
|
H A D | security.c | 581 real_qp->qp_type == IB_QPT_GSI || in ib_security_modify_qp()
|
/openbmc/linux/drivers/infiniband/hw/mlx4/ |
H A D | mad.c | 531 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 …]
|
H A D | qp.c | 1009 if (init_attr->qp_type == IB_QPT_GSI) in create_qp_common() 1027 tnl_init->proxy_qp_type != IB_QPT_GSI) || in create_qp_common() 1030 if (tnl_init->proxy_qp_type == IB_QPT_GSI) in create_qp_common() 1046 init_attr->qp_type == IB_QPT_GSI || qp_type == MLX4_IB_QPT_SMI || in create_qp_common() 1553 init_attr->qp_type > IB_QPT_GSI) || in _mlx4_ib_create_qp() 1555 init_attr->qp_type != IB_QPT_GSI)) in _mlx4_ib_create_qp() 1584 case IB_QPT_GSI: in _mlx4_ib_create_qp() 1636 if (init_attr->qp_type == IB_QPT_GSI && in mlx4_ib_create_qp() 2189 if (qp_type == IB_QPT_GSI || qp_type == IB_QPT_SMI) in __mlx4_ib_modify_qp() 2275 if (qp_type == IB_QPT_GSI) { in __mlx4_ib_modify_qp() [all …]
|
H A D | mcg.c | 224 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()
|
/openbmc/linux/drivers/infiniband/hw/qedr/ |
H A D | qedr.h | 621 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()
|
H A D | verbs.c | 1198 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() 2147 if (qp->qp_type == IB_QPT_GSI) in qedr_cleanup_kernel() 2245 if (qp->qp_type != IB_QPT_GSI) { in qedr_free_qp_resources() 2294 if (attrs->qp_type == IB_QPT_GSI) in qedr_create_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() 3765 if (qp->qp_type == IB_QPT_GSI) in qedr_post_send() [all …]
|
/openbmc/linux/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_verbs.c | 1101 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() 1881 if (qp->qp_type == IB_QPT_GSI) in ocrdma_build_ud_hdr() 1964 if (qp->qp_type == IB_QPT_UD || qp->qp_type == IB_QPT_GSI) { in ocrdma_build_send() 2449 if (qp->qp_type == IB_QPT_UD || qp->qp_type == IB_QPT_GSI) { in ocrdma_set_cqe_status_flushed() 2689 if (qp->qp_type == IB_QPT_UD || qp->qp_type == IB_QPT_GSI) in ocrdma_poll_success_rcqe() [all …]
|
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_qp.c | 216 init_attr->qp_type != IB_QPT_GSI) { in pvrdma_create_qp() 232 case IB_QPT_GSI: in pvrdma_create_qp() 739 qp->ibqp.qp_type == IB_QPT_GSI) { in pvrdma_post_send() 767 case IB_QPT_GSI: in pvrdma_post_send()
|
/openbmc/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_mad.c | 294 q ? IB_QPT_GSI : IB_QPT_SMI, in mthca_create_agents()
|
/openbmc/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | ib_verbs.c | 913 if (ib_qp->qp_type == IB_QPT_GSI && rdev->gsi_ctx.gsi_sqp) { in bnxt_re_destroy_qp() 946 case IB_QPT_GSI: in __from_ib_qp_type() 1342 init_attr->qp_type == IB_QPT_GSI) in bnxt_re_init_qp_type() 1408 if (init_attr->qp_type == IB_QPT_GSI) in bnxt_re_init_qp_attr() 1415 if (init_attr->qp_type == IB_QPT_GSI) in bnxt_re_init_qp_attr() 1539 if (qp_init_attr->qp_type == IB_QPT_GSI && in bnxt_re_create_qp() 1566 if (qp_init_attr->qp_type == IB_QPT_GSI) in bnxt_re_create_qp() 2173 if (ib_qp->qp_type == IB_QPT_GSI && rdev->gsi_ctx.gsi_sqp) in bnxt_re_modify_qp() 2658 qp->ib_qp.qp_type == IB_QPT_GSI || in bnxt_ud_qp_hw_stall_workaround() 2894 if (ib_qp->qp_type == IB_QPT_GSI && in bnxt_re_post_recv()
|
/openbmc/linux/drivers/infiniband/sw/rdmavt/ |
H A D | qp.c | 502 if (type == IB_QPT_SMI || type == IB_QPT_GSI) { in alloc_qpn() 505 ret = type == IB_QPT_GSI; in alloc_qpn() 693 qp->ibqp.qp_type == IB_QPT_GSI) in rvt_qp_mr_clean() 1070 case IB_QPT_GSI: in rvt_create_qp() 1476 qp->ibqp.qp_type == IB_QPT_GSI || in rvt_modify_qp()
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | wr.c | 1077 if (qp->type == IB_QPT_GSI) in mlx5_ib_post_send() 1226 if (qp->type == IB_QPT_GSI) in mlx5_ib_post_recv()
|