Home
last modified time | relevance | path

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

12

/Linux-v5.15/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()
398 case IB_QPT_SMI: in qib_check_send_wqe()
Dqib_ud.c346 if (qp->ibqp.qp_type == IB_QPT_SMI) in qib_make_ud_req()
365 bth0 |= qp->ibqp.qp_type == IB_QPT_SMI ? QIB_DEFAULT_P_KEY : in qib_make_ud_req()
Dqib_driver.c410 case IB_QPT_SMI: in qib_rcv_hdrerr()
Dqib_verbs.c236 case IB_QPT_SMI: in qib_qp_rcv()
1033 if (qp->ibqp.qp_type == IB_QPT_SMI || in qib_verbs_send()
/Linux-v5.15/drivers/infiniband/core/
Dsecurity.c580 bool special_qp = (real_qp->qp_type == IB_QPT_SMI || in ib_security_modify_qp()
700 if (qp_type != IB_QPT_SMI) in ib_mad_agent_security_setup()
726 if (agent->qp->qp_type == IB_QPT_SMI) { in ib_mad_agent_security_cleanup()
740 if (map->agent.qp->qp_type == IB_QPT_SMI) { in ib_mad_enforce_security()
Dverbs.c1407 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1435 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1480 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1507 [IB_QPT_SMI] = IB_QP_SQ_PSN,
1531 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1565 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1580 [IB_QPT_SMI] = IB_QP_EN_SQD_ASYNC_NOTIFY,
1611 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1658 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1675 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
Dagent.c166 IB_QPT_SMI, 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()
Dmad.c159 case IB_QPT_SMI: in get_spl_qp_index()
244 if ((qp_type == IB_QPT_SMI && !rdma_cap_ib_smi(device, port_num)) || in ib_register_mad_agent()
322 if (qp_type == IB_QPT_SMI) { in ib_register_mad_agent()
2987 ret = create_mad_qp(&port_priv->qp_info[0], IB_QPT_SMI); in ib_mad_port_open()
Duser_mad.c739 ureq.qpn ? IB_QPT_GSI : IB_QPT_SMI, in ib_umad_reg_agent()
852 ureq.qpn ? IB_QPT_GSI : IB_QPT_SMI, in ib_umad_reg_agent2()
/Linux-v5.15/drivers/infiniband/hw/hfi1/
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) |
280 case IB_QPT_SMI: in hfi1_setup_wqe()
547 case IB_QPT_SMI: in qp_to_sdma_engine()
569 case IB_QPT_SMI: in qp_to_send_context()
Dud.c198 if (qp->ibqp.qp_type == IB_QPT_GSI || qp->ibqp.qp_type == IB_QPT_SMI) { in ud_loopback()
200 sqp->ibqp.qp_type == IB_QPT_SMI) in ud_loopback()
242 if (qp->ibqp.qp_type == IB_QPT_GSI || qp->ibqp.qp_type == IB_QPT_SMI) in hfi1_make_bth_deth()
301 if (qp->ibqp.qp_type == IB_QPT_SMI) { in hfi1_make_ud_req_9B()
397 if (qp->ibqp.qp_type == IB_QPT_SMI) in hfi1_make_ud_req_16B()
992 qp->ibqp.qp_type == IB_QPT_SMI) { in hfi1_ud_rcv()
/Linux-v5.15/drivers/infiniband/sw/rdmavt/
Dmad.c70 IB_QPT_SMI, in rvt_create_mad_agents()
Dqp.c504 if (type == IB_QPT_SMI || type == IB_QPT_GSI) { in alloc_qpn()
694 if (qp->ibqp.qp_type == IB_QPT_SMI || in rvt_qp_mr_clean()
1071 case IB_QPT_SMI: in rvt_create_qp()
1477 if (qp->ibqp.qp_type == IB_QPT_SMI || in rvt_modify_qp()
/Linux-v5.15/drivers/infiniband/sw/rxe/
Drxe_qp.c66 case IB_QPT_SMI: in rxe_qp_chk_init()
84 if (init->qp_type == IB_QPT_SMI || init->qp_type == IB_QPT_GSI) { in rxe_qp_chk_init()
92 if (init->qp_type == IB_QPT_SMI && port->qp_smi_index) { in rxe_qp_chk_init()
174 case IB_QPT_SMI: in rxe_qp_init_misc()
Drxe_opcode.c32 [IB_QPT_SMI] = WR_INLINE_MASK | WR_SEND_MASK,
42 [IB_QPT_SMI] = WR_INLINE_MASK | WR_SEND_MASK,
Drxe_recv.c37 case IB_QPT_SMI: in check_type_state()
Drxe_verbs.c523 qp_type(qp) == IB_QPT_SMI || in init_send_wr()
599 qp_type(qp) == IB_QPT_SMI || in init_send_wqe()
Drxe_resp.c280 case IB_QPT_SMI: in check_op_valid()
790 qp_type(qp) == IB_QPT_SMI || in execute()
Drxe_req.c325 case IB_QPT_SMI: in next_opcode()
/Linux-v5.15/drivers/infiniband/hw/mlx4/
Dmad.c1035 q ? IB_QPT_GSI : IB_QPT_SMI, in mlx4_ib_mad_init()
1380 if (dest_qpt == IB_QPT_SMI) { in mlx4_ib_send_to_wire()
1591 IB_QPT_SMI : IB_QPT_GSI, in mlx4_ib_multiplex_mad()
1997 ret = mlx4_ib_alloc_pv_bufs(ctx, IB_QPT_SMI, create_tun); in create_pv_resources()
2032 ret = create_pv_sqp(ctx, IB_QPT_SMI, create_tun); in create_pv_resources()
2087 mlx4_ib_free_pv_qp_bufs(ctx, IB_QPT_SMI, create_tun); in create_pv_resources()
2105 mlx4_ib_free_pv_qp_bufs(ctx, IB_QPT_SMI, 1); in destroy_pv_resources()
2249 mlx4_ib_free_pv_qp_bufs(sqp_ctx, IB_QPT_SMI, 0); in mlx4_ib_free_sqp_ctx()
Dqp.c987 if ((tnl_init->proxy_qp_type != IB_QPT_SMI && in create_qp_common()
1006 if (init_attr->qp_type == IB_QPT_SMI || in create_qp_common()
1465 (attr->qp_type == IB_QPT_SMI ? 0 : 2) + in get_sqp_num()
1469 if (attr->qp_type == IB_QPT_SMI) in get_sqp_num()
1542 case IB_QPT_SMI: in _mlx4_ib_create_qp()
1570 qp->ibqp.qp_num = init_attr->qp_type == IB_QPT_SMI ? 0 : in _mlx4_ib_create_qp()
2148 if (qp_type == IB_QPT_GSI || qp_type == IB_QPT_SMI) in __mlx4_ib_modify_qp()
2401 (qp_type == IB_QPT_GSI || qp_type == IB_QPT_SMI || in __mlx4_ib_modify_qp()
Dmlx4_ib.h203 MLX4_IB_QPT_SMI = IB_QPT_SMI,
/Linux-v5.15/drivers/infiniband/hw/mthca/
Dmthca_mad.c294 q ? IB_QPT_GSI : IB_QPT_SMI, in mthca_create_agents()
Dmthca_provider.c524 case IB_QPT_SMI: in mthca_create_qp()
531 qp->ibqp.qp_num = init_attr->qp_type == IB_QPT_SMI ? 0 : 1; in mthca_create_qp()

12