Home
last modified time | relevance | path

Searched refs:qp_type (Results 1 – 25 of 90) sorted by relevance

1234

/freebsd-14.2/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_qp.c92 return qp_type == IB_QPT_SMI; in is_qp0()
97 return is_qp0(qp_type) || is_qp1(qp_type); in is_sqp()
148 qp->ibqp.qp_type); in mlx5_ib_read_user_wqe()
283 switch (attr->qp_type) { in sq_overhead()
1055 if (qp_type == IB_QPT_RC || qp_type == IB_QPT_UC) in is_connected()
1955 switch (qp_type) { in get_cqs()
2962 enum ib_qp_type qp_type; in mlx5_ib_modify_qp() local
2973 qp_type = (unlikely(ibqp->qp_type == MLX5_IB_QPT_HW_GSI)) ? in mlx5_ib_modify_qp()
3960 switch (ibqp->qp_type) { in mlx5_ib_post_send()
4521 if (qp->ibqp.qp_type == IB_QPT_RC || qp->ibqp.qp_type == IB_QPT_UC) { in query_qp_attr()
[all …]
/freebsd-14.2/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_qp.c614 if (attr->qp_type == IB_QPT_XRC_INI || attr->qp_type == IB_QPT_XRC_TGT) in qp_has_rq()
652 enum mlx4_ib_qp_type qp_type = (enum mlx4_ib_qp_type) init_attr->qp_type; in create_qp_common() local
698 if (qp_type == MLX4_IB_QPT_SMI || qp_type == MLX4_IB_QPT_GSI || in create_qp_common()
717 qp->mlx4_ib_qp_type = qp_type; in create_qp_common()
785 qp_type, qp, true); in create_qp_common()
1009 switch (qp->ibqp.qp_type) { in get_cqs()
1179 switch (init_attr->qp_type) { in _mlx4_ib_create_qp()
1673 if (ibqp->qp_type == IB_QPT_GSI || ibqp->qp_type == IB_QPT_SMI) in __mlx4_ib_modify_qp()
1926 (ibqp->qp_type == IB_QPT_GSI || ibqp->qp_type == IB_QPT_SMI || in __mlx4_ib_modify_qp()
2185 ibqp->qp_type, attr_mask); in _mlx4_ib_modify_qp()
[all …]
H A Dmlx4_ib_mad.c1282 size = (tun_qp->qp->qp_type == IB_QPT_UD) ? in mlx4_ib_post_pv_qp_buf()
1558 enum ib_qp_type qp_type, int is_tun) in mlx4_ib_alloc_pv_bufs() argument
1564 if (qp_type > IB_QPT_GSI) in mlx4_ib_alloc_pv_bufs()
1567 tun_qp = &ctx->qp[qp_type]; in mlx4_ib_alloc_pv_bufs()
1625 tun_qp->proxy_qpt = qp_type; in mlx4_ib_alloc_pv_bufs()
1658 if (qp_type > IB_QPT_GSI) in mlx4_ib_free_pv_qp_bufs()
1661 tun_qp = &ctx->qp[qp_type]; in mlx4_ib_free_pv_qp_bufs()
1761 if (qp_type > IB_QPT_GSI) in create_pv_sqp()
1764 tun_qp = &ctx->qp[qp_type]; in create_pv_sqp()
1780 qp_init_attr.proxy_qp_type = qp_type; in create_pv_sqp()
[all …]
/freebsd-14.2/sys/dev/qlnx/qlnxe/
H A Decore_rdma.h154 enum ecore_rdma_qp_type qp_type; member
227 if ((qp->qp_type == ECORE_RDMA_QP_TYPE_XRC_TGT) || in ecore_rdma_is_xrc_qp()
228 (qp->qp_type == ECORE_RDMA_QP_TYPE_XRC_INI)) in ecore_rdma_is_xrc_qp()
/freebsd-14.2/contrib/ofed/librdmacm/
H A Dcma.c483 enum ibv_qp_type qp_type) in ucma_alloc_id() argument
493 id_priv->id.qp_type = qp_type; in ucma_alloc_id()
535 cmd.qp_type = qp_type; in rdma_create_id2()
556 enum ibv_qp_type qp_type; in rdma_create_id() local
986 return (qp_type == IBV_QPT_UD); in ucma_is_ud_qp()
1308 if (id->qp_type == IBV_QPT_XRC_RECV) { in rdma_create_srq()
1347 if (id->qp_type == IBV_QPT_XRC_RECV) { in rdma_create_qp_ex()
1373 if (ucma_is_ud_qp(id->qp_type)) in rdma_create_qp_ex()
1607 if (!ucma_is_ud_qp(id->qp_type)) { in rdma_accept()
1635 if (ucma_is_ud_qp(id->qp_type)) in rdma_accept()
[all …]
/freebsd-14.2/contrib/ofed/libibverbs/
H A Dcompat-1_0.c79 enum ibv_qp_type qp_type; member
127 enum ibv_qp_type qp_type; member
409 int is_ud = qp->qp_type == IBV_QPT_UD; in post_send_wrapper_1_0()
883 real_init_attr.qp_type = qp_init_attr->qp_type; in __ibv_create_qp_1_0()
898 qp->qp_type = qp_init_attr->qp_type; in __ibv_create_qp_1_0()
925 init_attr->qp_type = real_init_attr.qp_type; in __ibv_query_qp_1_0()
H A Dcmd.c869 if (qp_attr->qp_type != IBV_QPT_XRC_SEND) { in create_qp_ex_common()
883 cmd->qp_type = qp_attr->qp_type; in create_qp_ex_common()
913 qp->qp.qp_type = qp_attr->qp_type; in create_qp_handle_resp_common()
1055 cmd->qp_type = attr->qp_type; in ibv_cmd_create_qp()
1116 cmd->qp_type = attr->qp_type; in ibv_cmd_open_qp()
1131 qp->qp.qp_type = attr->qp_type; in ibv_cmd_open_qp()
1223 init_attr->qp_type = qp->qp_type; in ibv_cmd_query_qp()
1407 if (ibqp->qp_type == IBV_QPT_UD) { in ibv_cmd_post_send()
/freebsd-14.2/sys/ofed/include/rdma/
H A Drdma_cm.h158 enum ib_qp_type qp_type; member
177 enum ib_qp_type qp_type);
H A Dib_cm.h136 enum ib_qp_type qp_type; member
387 enum ib_qp_type qp_type; member
H A Dib_mad.h634 enum ib_qp_type qp_type,
665 enum ib_qp_type qp_type,
/freebsd-14.2/sys/ofed/drivers/infiniband/core/
H A Dcore_priv.h168 qp->qp_type = attr->qp_type; in _ib_create_qp()
H A Dib_verbs.c821 qp->qp_type = real_qp->qp_type; in __ib_open_qp()
835 if (qp_open_attr->qp_type != IB_QPT_XRC_TGT) in ib_open_qp()
894 qp->qp_type = qp_init_attr->qp_type; in ib_create_qp()
900 if (qp_init_attr->qp_type == IB_QPT_XRC_TGT) in ib_create_qp()
905 if (qp_init_attr->qp_type == IB_QPT_XRC_INI) { in ib_create_qp()
1323 return (qp->qp_type == IB_QPT_UC || in is_qp_type_connected()
1324 qp->qp_type == IB_QPT_RC || in is_qp_type_connected()
1325 qp->qp_type == IB_QPT_XRC_INI || in is_qp_type_connected()
1326 qp->qp_type == IB_QPT_XRC_TGT); in is_qp_type_connected()
1745 qp->qp_type != IB_QPT_UD || !is_valid_mcast_lid(qp, lid)) in ib_attach_mcast()
[all …]
H A Dcm_msgs.h172 enum ib_qp_type qp_type) in cm_req_set_qp_type() argument
174 switch(qp_type) { in cm_req_set_qp_type()
536 static inline __be32 cm_rep_get_qpn(struct cm_rep_msg *rep_msg, enum ib_qp_type qp_type) in cm_rep_get_qpn() argument
538 return (qp_type == IB_QPT_XRC_INI) ? in cm_rep_get_qpn()
H A Dib_ucma.c345 if (cm_id->qp_type == IB_QPT_UD) in ucma_event_handler()
441 static int ucma_get_qp_type(struct rdma_ucm_create_id *cmd, enum ib_qp_type *qp_type) in ucma_get_qp_type() argument
445 *qp_type = IB_QPT_RC; in ucma_get_qp_type()
449 *qp_type = IB_QPT_UD; in ucma_get_qp_type()
452 *qp_type = cmd->qp_type; in ucma_get_qp_type()
466 enum ib_qp_type qp_type; in ucma_create_id() local
475 ret = ucma_get_qp_type(&cmd, &qp_type); in ucma_create_id()
487 ucma_event_handler, ctx, cmd.ps, qp_type); in ucma_create_id()
H A Dib_mad.c132 static int get_spl_qp_index(enum ib_qp_type qp_type) in get_spl_qp_index() argument
134 switch (qp_type) in get_spl_qp_index()
200 enum ib_qp_type qp_type, in ib_register_mad_agent() argument
225 qpn = get_spl_qp_index(qp_type); in ib_register_mad_agent()
229 qp_type); in ib_register_mad_agent()
296 if (qp_type == IB_QPT_SMI) { in ib_register_mad_agent()
491 enum ib_qp_type qp_type, in ib_register_mad_snoop() argument
508 qpn = get_spl_qp_index(qp_type); in ib_register_mad_snoop()
3061 enum ib_qp_type qp_type) in create_mad_qp() argument
3074 qp_init_attr.qp_type = qp_type; in create_mad_qp()
[all …]
H A Dib_cm.c286 enum ib_qp_type qp_type; member
1034 if (cm_id_priv->qp_type == IB_QPT_XRC_TGT) in cm_destroy_id()
1243 cm_req_set_qp_type(req_msg, param->qp_type); in cm_format_req()
1252 if (param->qp_type != IB_QPT_XRC_INI) { in cm_format_req()
1315 if (param->qp_type != IB_QPT_RC && param->qp_type != IB_QPT_UC && in cm_validate_req_param()
1316 param->qp_type != IB_QPT_XRC_INI) in cm_validate_req_param()
1382 cm_id_priv->qp_type = param->qp_type; in ib_send_cm_req()
1537 param->qp_type = cm_req_get_qp_type(req_msg); in cm_format_req_event()
1898 if (cm_id_priv->qp_type != IB_QPT_XRC_TGT) { in cm_format_rep()
3871 if (cm_id_priv->qp_type == IB_QPT_RC || in cm_init_qp_rtr_attr()
[all …]
/freebsd-14.2/contrib/ofed/libmlx5/
H A Dverbs.c765 switch (qp_type) { in sq_overhead()
815 size = sq_overhead(attr->qp_type); in mlx5_calc_send_wqe()
1097 if (attr->qp_type == IBV_QPT_RAW_PACKET) { in mlx5_alloc_qp_buf()
1247 (attr->qp_type != IBV_QPT_RAW_PACKET)) in create_qp()
1283 if (attr->qp_type == IBV_QPT_RAW_PACKET) { in create_qp()
1297 if (attr->qp_type == IBV_QPT_RAW_PACKET) { in create_qp()
1336 } else if (!is_xrc_tgt(attr->qp_type)) { in create_qp()
1395 else if (!is_xrc_tgt(attr->qp_type)) in create_qp()
1509 else if (!is_xrc_tgt(ibqp->qp_type)) in mlx5_destroy_qp()
1562 switch (qp->qp_type) { in mlx5_modify_qp()
[all …]
/freebsd-14.2/contrib/ofed/libmlx4/
H A Dverbs.c816 if (attr->qp_type == IBV_QPT_XRC_RECV) { in mlx4_create_qp_ex()
819 mlx4_calc_sq_wqe_size(&attr->cap, attr->qp_type, qp); in mlx4_create_qp_ex()
828 if (attr->srq || attr->qp_type == IBV_QPT_XRC_SEND || in mlx4_create_qp_ex()
829 attr->qp_type == IBV_QPT_XRC_RECV) { in mlx4_create_qp_ex()
839 if (mlx4_alloc_qp_buf(context, &attr->cap, attr->qp_type, qp)) in mlx4_create_qp_ex()
888 if (attr->qp_type != IBV_QPT_XRC_RECV) in mlx4_create_qp_ex()
889 mlx4_set_sq_sizes(qp, &attr->cap, attr->qp_type); in mlx4_create_qp_ex()
998 switch(qp->qp_type) { in mlx4_modify_qp()
/freebsd-14.2/sys/ofed/include/uapi/rdma/
H A Dib_user_cm.h140 __u32 qp_type; member
244 __u32 qp_type; member
/freebsd-14.2/contrib/ofed/libirdma/
H A Dirdma_uverbs.c780 if (ib_qp->qp_type != IBV_QPT_UD && in irdma_process_cqe()
787 if (ib_qp->qp_type == IBV_QPT_UD) { in irdma_process_cqe()
1062 if (ib_qp->qp_type == IBV_QPT_UD) { in irdma_wc_read_wc_flags()
1115 return ib_qp->qp_type == IBV_QPT_UD ? cur_cqe->ud_src_qpn : cur_cqe->qp_id; in irdma_wc_read_src_qp()
1367 if (attr->qp_type != IBV_QPT_RC && attr->qp_type != IBV_QPT_UD) { in irdma_ucreate_qp()
1369 __func__, attr->qp_type); in irdma_ucreate_qp()
1447 iwuqp->qp_type = attr->qp_type; in irdma_ucreate_qp()
1717 if (ib_qp->qp_type == IBV_QPT_UD) { in irdma_upost_send()
1769 if (ib_qp->qp_type != IBV_QPT_RC) { in irdma_upost_send()
/freebsd-14.2/sys/dev/mlx5/mlx5_fpga/
H A Dconn.h90 enum mlx5_ifc_fpga_qp_type qp_type);
H A Dmlx5_ifc_fpga.h57 u8 qp_type[0x2]; member
203 u8 qp_type[0x1]; member
/freebsd-14.2/contrib/ofed/libibcm/
H A Dcm.h112 enum ibv_qp_type qp_type; member
357 enum ibv_qp_type qp_type; member
/freebsd-14.2/sys/dev/qlnx/qlnxr/
H A Dqlnxr_def.h641 enum ib_qp_type qp_type; member
803 if (qp->qp_type == IB_QPT_GSI) in qlnxr_qp_has_sq()
811 if (qp->qp_type == IB_QPT_GSI || qlnxr_qp_has_srq(qp)) in qlnxr_qp_has_rq()
H A Dqlnxr_verbs.c2020 if (attrs->qp_type != IB_QPT_RC && attrs->qp_type != IB_QPT_GSI) { in qlnxr_check_qp_attrs()
2022 attrs->qp_type); in qlnxr_check_qp_attrs()
2067 attrs->qp_type); in qlnxr_check_qp_attrs()
2217 qp->qp_type = attrs->qp_type; in qlnxr_set_common_qp_params()
3384 ibqp->qp_type, in qlnxr_modify_qp()
3619 if (qp->qp_type != IB_QPT_GSI) in qlnxr_modify_qp()
3839 if (qp->qp_type != IB_QPT_GSI) { in qlnxr_free_qp_resources()
3857 if (qp->qp_type != IB_QPT_GSI) { in qlnxr_free_qp_resources()
3894 if (qp->qp_type == IB_QPT_GSI) in qlnxr_destroy_qp()
4273 if (qp->qp_type == IB_QPT_GSI) in qlnxr_post_send()
[all …]

1234