Home
last modified time | relevance | path

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

12

/linux-6.6.21/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-6.6.21/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.c1404 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1432 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1477 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1504 [IB_QPT_SMI] = IB_QP_SQ_PSN,
1528 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1562 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1577 [IB_QPT_SMI] = IB_QP_EN_SQD_ASYNC_NOTIFY,
1608 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1655 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1672 [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.c154 case IB_QPT_SMI: in get_spl_qp_index()
239 if ((qp_type == IB_QPT_SMI && !rdma_cap_ib_smi(device, port_num)) || in ib_register_mad_agent()
317 if (qp_type == IB_QPT_SMI) { in ib_register_mad_agent()
2982 ret = create_mad_qp(&port_priv->qp_info[0], IB_QPT_SMI); in ib_mad_port_open()
Duser_mad.c744 ureq.qpn ? IB_QPT_GSI : IB_QPT_SMI, in ib_umad_reg_agent()
857 ureq.qpn ? IB_QPT_GSI : IB_QPT_SMI, in ib_umad_reg_agent2()
/linux-6.6.21/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()
1933 case IB_QPT_SMI: in hfi1_cnp_rcv()
Ddriver.c446 case IB_QPT_SMI: in hfi1_process_ecn_slowpath()
/linux-6.6.21/drivers/infiniband/sw/rdmavt/
Dmad.c70 IB_QPT_SMI, in rvt_create_mad_agents()
Dqp.c502 if (type == IB_QPT_SMI || type == IB_QPT_GSI) { in alloc_qpn()
692 if (qp->ibqp.qp_type == IB_QPT_SMI || in rvt_qp_mr_clean()
1069 case IB_QPT_SMI: in rvt_create_qp()
1475 if (qp->ibqp.qp_type == IB_QPT_SMI || in rvt_modify_qp()
/linux-6.6.21/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.c1026 if ((tnl_init->proxy_qp_type != IB_QPT_SMI && in create_qp_common()
1045 if (init_attr->qp_type == IB_QPT_SMI || in create_qp_common()
1506 (attr->qp_type == IB_QPT_SMI ? 0 : 2) + in get_sqp_num()
1510 if (attr->qp_type == IB_QPT_SMI) in get_sqp_num()
1583 case IB_QPT_SMI: in _mlx4_ib_create_qp()
1611 qp->ibqp.qp_num = init_attr->qp_type == IB_QPT_SMI ? 0 : in _mlx4_ib_create_qp()
2189 if (qp_type == IB_QPT_GSI || qp_type == IB_QPT_SMI) in __mlx4_ib_modify_qp()
2442 (qp_type == IB_QPT_GSI || qp_type == IB_QPT_SMI || in __mlx4_ib_modify_qp()
Dmlx4_ib.h204 MLX4_IB_QPT_SMI = IB_QPT_SMI,
/linux-6.6.21/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-6.6.21/drivers/infiniband/hw/mlx5/
Dqp.c92 return qp_type == IB_QPT_SMI; in is_qp0()
527 case IB_QPT_SMI: in sq_overhead()
819 case IB_QPT_SMI: return MLX5_QP_ST_QP0; in to_mlx5_st()
2638 case IB_QPT_SMI: in get_cqs()
2780 case IB_QPT_SMI: in check_qp_type()
Dwr.c1143 case IB_QPT_SMI: in mlx5_ib_post_send()

12