Home
last modified time | relevance | path

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

12

/linux/drivers/infiniband/hw/qib/
H A 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()
H A 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()
H A Dqib_driver.c405 case IB_QPT_SMI: in qib_rcv_hdrerr()
H A 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/drivers/infiniband/core/
H A 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()
H A Dverbs.c1419 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1447 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1492 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1519 [IB_QPT_SMI] = IB_QP_SQ_PSN,
1543 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1577 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1592 [IB_QPT_SMI] = IB_QP_EN_SQD_ASYNC_NOTIFY,
1623 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
1670 [IB_QPT_SMI] = (IB_QP_PKEY_INDEX |
1687 [IB_QPT_SMI] = (IB_QP_CUR_STATE |
H A Dagent.c175 IB_QPT_SMI, NULL, 0, in ib_agent_port_open()
H A Drestrack.c201 if (qp->qp_type == IB_QPT_SMI || qp->qp_type == IB_QPT_GSI) in rdma_restrack_add()
H A 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()
H A Duser_mad.c753 ureq.qpn ? IB_QPT_GSI : IB_QPT_SMI, in ib_umad_reg_agent()
866 ureq.qpn ? IB_QPT_GSI : IB_QPT_SMI, in ib_umad_reg_agent2()
/linux/drivers/infiniband/hw/hfi1/
H A 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()
H A 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()
H A Dverbs.c1183 case IB_QPT_SMI: in get_send_routine()
1933 case IB_QPT_SMI: in hfi1_cnp_rcv()
H A Ddriver.c446 case IB_QPT_SMI: in hfi1_process_ecn_slowpath()
/linux/drivers/infiniband/sw/rdmavt/
H A Dmad.c70 IB_QPT_SMI, in rvt_create_mad_agents()
H A 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/drivers/infiniband/hw/mlx4/
H A 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()
H A 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()
H A Dmlx4_ib.h204 MLX4_IB_QPT_SMI = IB_QPT_SMI,
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c294 q ? IB_QPT_GSI : IB_QPT_SMI, in mthca_create_agents()
H A 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()
H A Dmthca_cmd.c1842 case IB_QPT_SMI: in mthca_CONF_SPECIAL_QP()
H A Dmthca_qp.c2288 err = mthca_CONF_SPECIAL_QP(dev, i ? IB_QPT_GSI : IB_QPT_SMI, in mthca_init_qp_table()
/linux/drivers/infiniband/hw/mlx5/
H A 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()
2636 case IB_QPT_SMI: in get_cqs()
2778 case IB_QPT_SMI: in check_qp_type()
H A Dwr.c1143 case IB_QPT_SMI: in mlx5_ib_post_send()

12