Home
last modified time | relevance | path

Searched refs:IB_QPT_SMI (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v4.19/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()
401 case IB_QPT_SMI: in qib_check_send_wqe()
Dqib_ud.c350 if (qp->ibqp.qp_type == IB_QPT_SMI) in qib_make_ud_req()
369 bth0 |= qp->ibqp.qp_type == IB_QPT_SMI ? QIB_DEFAULT_P_KEY : in qib_make_ud_req()
Dqib_driver.c414 case IB_QPT_SMI: in qib_rcv_hdrerr()
Dqib_ruc.c637 qp->ibqp.qp_type == IB_QPT_SMI || in qib_send_complete()
Dqib_verbs.c268 case IB_QPT_SMI: in qib_qp_rcv()
1068 if (qp->ibqp.qp_type == IB_QPT_SMI || in qib_verbs_send()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
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) |
309 case IB_QPT_SMI: in hfi1_check_send_wqe()
499 case IB_QPT_SMI: in qp_to_sdma_engine()
521 case IB_QPT_SMI: in qp_to_send_context()
Dud.c259 if (qp->ibqp.qp_type == IB_QPT_GSI || qp->ibqp.qp_type == IB_QPT_SMI) { in ud_loopback()
261 sqp->ibqp.qp_type == IB_QPT_SMI) in ud_loopback()
304 if (qp->ibqp.qp_type == IB_QPT_GSI || qp->ibqp.qp_type == IB_QPT_SMI) in hfi1_make_bth_deth()
362 if (qp->ibqp.qp_type == IB_QPT_SMI) { in hfi1_make_ud_req_9B()
458 if (qp->ibqp.qp_type == IB_QPT_SMI) in hfi1_make_ud_req_16B()
1052 qp->ibqp.qp_type == IB_QPT_SMI) { in hfi1_ud_rcv()
/Linux-v4.19/drivers/infiniband/sw/rdmavt/
Dmad.c112 IB_QPT_SMI, in rvt_create_mad_agents()
Dqp.c354 if (type == IB_QPT_SMI || type == IB_QPT_GSI) { in alloc_qpn()
447 qp->ibqp.qp_type == IB_QPT_SMI || in rvt_clear_mr_refs()
549 if (qp->ibqp.qp_type == IB_QPT_SMI || in rvt_qp_mr_clean()
805 case IB_QPT_SMI: in rvt_create_qp()
997 case IB_QPT_SMI: in rvt_create_qp()
1230 if (qp->ibqp.qp_type == IB_QPT_SMI || in rvt_modify_qp()
/Linux-v4.19/drivers/infiniband/core/
Dverbs.c1230 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1258 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1303 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1330 [IB_QPT_SMI] = IB_QP_SQ_PSN,
1354 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1388 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1403 [IB_QPT_SMI] = IB_QP_EN_SQD_ASYNC_NOTIFY,
1434 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1481 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1498 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
Dsecurity.c584 bool special_qp = (real_qp->qp_type == IB_QPT_SMI || in ib_security_modify_qp()
707 if (qp_type != IB_QPT_SMI) in ib_mad_agent_security_setup()
741 if (map->agent.qp->qp_type == IB_QPT_SMI) { in ib_mad_enforce_security()
Dagent.c166 IB_QPT_SMI, NULL, 0, in ib_agent_port_open()
Duser_mad.c709 ureq.qpn ? IB_QPT_GSI : IB_QPT_SMI, in ib_umad_reg_agent()
825 ureq.qpn ? IB_QPT_GSI : IB_QPT_SMI, in ib_umad_reg_agent2()
/Linux-v4.19/drivers/infiniband/sw/rxe/
Drxe_qp.c98 if (init->qp_type == IB_QPT_SMI || init->qp_type == IB_QPT_GSI) { in rxe_qp_chk_init()
106 if (init->qp_type == IB_QPT_SMI && port->qp_smi_index) { in rxe_qp_chk_init()
189 case IB_QPT_SMI: in rxe_qp_init_misc()
Drxe_opcode.c59 [IB_QPT_SMI] = WR_INLINE_MASK | WR_SEND_MASK,
69 [IB_QPT_SMI] = WR_INLINE_MASK | WR_SEND_MASK,
Drxe_recv.c59 case IB_QPT_SMI: in check_type_state()
Drxe_resp.c308 case IB_QPT_SMI: in check_op_valid()
785 qp_type(qp) == IB_QPT_SMI || in execute()
Drxe_verbs.c593 qp_type(qp) == IB_QPT_SMI || in init_send_wr()
652 qp_type(qp) == IB_QPT_SMI || in init_send_wqe()
Drxe_req.c326 case IB_QPT_SMI: in next_opcode()
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dmad.c1041 q ? IB_QPT_GSI : IB_QPT_SMI, in mlx4_ib_mad_init()
1382 if (dest_qpt == IB_QPT_SMI) { in mlx4_ib_send_to_wire()
1584 IB_QPT_SMI : IB_QPT_GSI, in mlx4_ib_multiplex_mad()
1985 ret = mlx4_ib_alloc_pv_bufs(ctx, IB_QPT_SMI, create_tun); in create_pv_resources()
2019 ret = create_pv_sqp(ctx, IB_QPT_SMI, create_tun); in create_pv_resources()
2073 mlx4_ib_free_pv_qp_bufs(ctx, IB_QPT_SMI, create_tun); in create_pv_resources()
2091 mlx4_ib_free_pv_qp_bufs(ctx, IB_QPT_SMI, 1); in destroy_pv_resources()
2223 mlx4_ib_free_pv_qp_bufs(sqp_ctx, IB_QPT_SMI, 0); in mlx4_ib_free_sqp_ctx()
Dqp.c893 if ((tnl_init->proxy_qp_type != IB_QPT_SMI && in create_qp_common()
1432 (attr->qp_type == IB_QPT_SMI ? 0 : 2) + in get_sqp_num()
1436 if (attr->qp_type == IB_QPT_SMI) in get_sqp_num()
1520 case IB_QPT_SMI: in _mlx4_ib_create_qp()
1545 qp->ibqp.qp_num = init_attr->qp_type == IB_QPT_SMI ? 0 : in _mlx4_ib_create_qp()
2123 if (qp_type == IB_QPT_GSI || qp_type == IB_QPT_SMI) in __mlx4_ib_modify_qp()
2376 (qp_type == IB_QPT_GSI || qp_type == IB_QPT_SMI || in __mlx4_ib_modify_qp()
Dmlx4_ib.h213 MLX4_IB_QPT_SMI = IB_QPT_SMI,
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_mad.c305 q ? IB_QPT_GSI : IB_QPT_SMI, in mthca_create_agents()
Dmthca_provider.c595 case IB_QPT_SMI: in mthca_create_qp()
606 qp->ibqp.qp_num = init_attr->qp_type == IB_QPT_SMI ? 0 : 1; in mthca_create_qp()
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dqp.c102 return qp_type == IB_QPT_SMI; in is_qp0()
326 case IB_QPT_SMI: in sq_overhead()
617 case IB_QPT_SMI: return MLX5_QP_ST_QP0; in to_mlx5_st()
2037 case IB_QPT_SMI: in get_cqs()
2138 case IB_QPT_SMI: in ib_qp_type_str()
2321 case IB_QPT_SMI: in mlx5_ib_create_qp()
4552 case IB_QPT_SMI: in _mlx5_ib_post_send()

12