Home
last modified time | relevance | path

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

12

/linux-5.19.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.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.c411 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-5.19.10/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.c1402 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1430 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1475 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1502 [IB_QPT_SMI] = IB_QP_SQ_PSN,
1526 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1560 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1575 [IB_QPT_SMI] = IB_QP_EN_SQD_ASYNC_NOTIFY,
1606 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1653 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1670 [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-5.19.10/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()
Dverbs.c1183 case IB_QPT_SMI: in get_send_routine()
1952 case IB_QPT_SMI: in hfi1_cnp_rcv()
Ddriver.c446 case IB_QPT_SMI: in hfi1_process_ecn_slowpath()
/linux-5.19.10/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-5.19.10/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()
1467 (attr->qp_type == IB_QPT_SMI ? 0 : 2) + in get_sqp_num()
1471 if (attr->qp_type == IB_QPT_SMI) in get_sqp_num()
1544 case IB_QPT_SMI: in _mlx4_ib_create_qp()
1572 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-5.19.10/drivers/infiniband/hw/mthca/
Dmthca_mad.c294 q ? IB_QPT_GSI : IB_QPT_SMI, in mthca_create_agents()
Dmthca_provider.c516 case IB_QPT_SMI: in mthca_create_qp()
523 qp->ibqp.qp_num = init_attr->qp_type == IB_QPT_SMI ? 0 : 1; in mthca_create_qp()
Dmthca_cmd.c1842 case IB_QPT_SMI: in mthca_CONF_SPECIAL_QP()
Dmthca_qp.c2288 err = mthca_CONF_SPECIAL_QP(dev, i ? IB_QPT_GSI : IB_QPT_SMI, in mthca_init_qp_table()
/linux-5.19.10/drivers/infiniband/hw/mlx5/
Dqp.c80 return qp_type == IB_QPT_SMI; in is_qp0()
446 case IB_QPT_SMI: in sq_overhead()
738 case IB_QPT_SMI: return MLX5_QP_ST_QP0; in to_mlx5_st()
2550 case IB_QPT_SMI: in get_cqs()
2692 case IB_QPT_SMI: in check_qp_type()
Dwr.c1143 case IB_QPT_SMI: in mlx5_ib_post_send()

12