Home
last modified time | relevance | path

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

12

/Linux-v5.10/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.c345 if (qp->ibqp.qp_type == IB_QPT_SMI) in qib_make_ud_req()
364 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.10/drivers/infiniband/core/
Dsecurity.c580 bool special_qp = (real_qp->qp_type == IB_QPT_SMI || in ib_security_modify_qp()
703 if (qp_type != IB_QPT_SMI) in ib_mad_agent_security_setup()
729 if (agent->qp->qp_type == IB_QPT_SMI) { in ib_mad_agent_security_cleanup()
743 if (map->agent.qp->qp_type == IB_QPT_SMI) { in ib_mad_enforce_security()
Dverbs.c1320 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1348 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1393 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1420 [IB_QPT_SMI] = IB_QP_SQ_PSN,
1444 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1478 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1493 [IB_QPT_SMI] = IB_QP_EN_SQD_ASYNC_NOTIFY,
1524 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1571 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1588 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
Dagent.c166 IB_QPT_SMI, NULL, 0, in ib_agent_port_open()
Duser_mad.c726 ureq.qpn ? IB_QPT_GSI : IB_QPT_SMI, in ib_umad_reg_agent()
842 ureq.qpn ? IB_QPT_GSI : IB_QPT_SMI, in ib_umad_reg_agent2()
Dmad.c160 case IB_QPT_SMI: in get_spl_qp_index()
245 if ((qp_type == IB_QPT_SMI && !rdma_cap_ib_smi(device, port_num)) || in ib_register_mad_agent()
323 if (qp_type == IB_QPT_SMI) { in ib_register_mad_agent()
2997 ret = create_mad_qp(&port_priv->qp_info[0], IB_QPT_SMI); in ib_mad_port_open()
/Linux-v5.10/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) |
322 case IB_QPT_SMI: in hfi1_setup_wqe()
588 case IB_QPT_SMI: in qp_to_sdma_engine()
610 case IB_QPT_SMI: in qp_to_send_context()
Dud.c240 if (qp->ibqp.qp_type == IB_QPT_GSI || qp->ibqp.qp_type == IB_QPT_SMI) { in ud_loopback()
242 sqp->ibqp.qp_type == IB_QPT_SMI) in ud_loopback()
284 if (qp->ibqp.qp_type == IB_QPT_GSI || qp->ibqp.qp_type == IB_QPT_SMI) in hfi1_make_bth_deth()
343 if (qp->ibqp.qp_type == IB_QPT_SMI) { in hfi1_make_ud_req_9B()
439 if (qp->ibqp.qp_type == IB_QPT_SMI) in hfi1_make_ud_req_16B()
1038 qp->ibqp.qp_type == IB_QPT_SMI) { in hfi1_ud_rcv()
Dverbs.c1225 case IB_QPT_SMI: in get_send_routine()
1997 case IB_QPT_SMI: in hfi1_cnp_rcv()
/Linux-v5.10/drivers/infiniband/sw/rdmavt/
Dmad.c112 IB_QPT_SMI, in rvt_create_mad_agents()
Dqp.c544 if (type == IB_QPT_SMI || type == IB_QPT_GSI) { in alloc_qpn()
734 if (qp->ibqp.qp_type == IB_QPT_SMI || in rvt_qp_mr_clean()
1109 case IB_QPT_SMI: in rvt_create_qp()
1530 if (qp->ibqp.qp_type == IB_QPT_SMI || in rvt_modify_qp()
/Linux-v5.10/drivers/infiniband/sw/rxe/
Drxe_qp.c73 if (init->qp_type == IB_QPT_SMI || init->qp_type == IB_QPT_GSI) { in rxe_qp_chk_init()
81 if (init->qp_type == IB_QPT_SMI && port->qp_smi_index) { in rxe_qp_chk_init()
164 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.c32 case IB_QPT_SMI: in check_type_state()
Drxe_resp.c277 case IB_QPT_SMI: in check_op_valid()
763 qp_type(qp) == IB_QPT_SMI || in execute()
Drxe_verbs.c507 qp_type(qp) == IB_QPT_SMI || in init_send_wr()
566 qp_type(qp) == IB_QPT_SMI || in init_send_wqe()
Drxe_req.c302 case IB_QPT_SMI: in next_opcode()
/Linux-v5.10/drivers/infiniband/hw/mlx4/
Dmad.c1033 q ? IB_QPT_GSI : IB_QPT_SMI, in mlx4_ib_mad_init()
1378 if (dest_qpt == IB_QPT_SMI) { in mlx4_ib_send_to_wire()
1588 IB_QPT_SMI : IB_QPT_GSI, in mlx4_ib_multiplex_mad()
1994 ret = mlx4_ib_alloc_pv_bufs(ctx, IB_QPT_SMI, create_tun); in create_pv_resources()
2029 ret = create_pv_sqp(ctx, IB_QPT_SMI, create_tun); in create_pv_resources()
2084 mlx4_ib_free_pv_qp_bufs(ctx, IB_QPT_SMI, create_tun); in create_pv_resources()
2102 mlx4_ib_free_pv_qp_bufs(ctx, IB_QPT_SMI, 1); in destroy_pv_resources()
2246 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()
1565 qp->ibqp.qp_num = init_attr->qp_type == IB_QPT_SMI ? 0 : in _mlx4_ib_create_qp()
2150 if (qp_type == IB_QPT_GSI || qp_type == IB_QPT_SMI) in __mlx4_ib_modify_qp()
2403 (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.10/drivers/infiniband/hw/mthca/
Dmthca_mad.c294 q ? IB_QPT_GSI : IB_QPT_SMI, in mthca_create_agents()
Dmthca_provider.c535 case IB_QPT_SMI: in mthca_create_qp()
547 qp->ibqp.qp_num = init_attr->qp_type == IB_QPT_SMI ? 0 : 1; in mthca_create_qp()

12