Home
last modified time | relevance | path

Searched refs:to_msrq (Results 1 – 22 of 22) sorted by relevance

/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_srq.c79 struct mlx4_ib_srq *srq = to_msrq(ib_srq); in mlx4_ib_create_srq()
228 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_modify_srq()
253 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_query_srq()
271 struct mlx4_ib_srq *msrq = to_msrq(srq); in mlx4_ib_destroy_srq()
309 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_post_srq_recv()
H A Dmlx4_ib.h689 static inline struct mlx4_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() function
H A Dmlx4_ib_cq.c733 srq = to_msrq((*cur_qp)->ibqp.srq); in mlx4_ib_poll_one()
H A Dmlx4_ib_qp.c1070 qp->ibqp.srq ? to_msrq(qp->ibqp.srq): NULL); in destroy_qp_common()
1919 context->srqn = cpu_to_be32(1 << 24 | to_msrq(ibqp->srq)->msrq.srqn); in __mlx4_ib_modify_qp()
2056 ibqp->srq ? to_msrq(ibqp->srq) : NULL); in __mlx4_ib_modify_qp()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_srq.c243 struct mlx5_ib_srq *srq = to_msrq(ib_srq); in mlx5_ib_create_srq()
349 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_modify_srq()
374 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_query_srq()
398 struct mlx5_ib_srq *msrq = to_msrq(srq); in mlx5_ib_destroy_srq()
432 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_post_srq_recv()
H A Dmlx5_ib_cq.c184 srq = to_msrq(qp->ibqp.srq); in handle_responder()
610 srq = to_msrq((*cur_qp)->ibqp.srq); in mlx5_poll_one()
H A Dmlx5_ib_qp.c1804 MLX5_SET(qpc, qpc, srqn_rmpn, to_msrq(devr->s0)->msrq.srqn); in create_qp_common()
1810 MLX5_SET(qpc, qpc, srqn_rmpn, to_msrq(devr->s0)->msrq.srqn); in create_qp_common()
1815 MLX5_SET(qpc, qpc, srqn_rmpn, to_msrq(init_attr->srq)->msrq.srqn); in create_qp_common()
1818 MLX5_SET(qpc, qpc, srqn_rmpn, to_msrq(devr->s1)->msrq.srqn); in create_qp_common()
2040 qp->ibqp.srq ? to_msrq(qp->ibqp.srq) : NULL); in destroy_qp_common()
2938 ibqp->srq ? to_msrq(ibqp->srq) : NULL); in __mlx5_ib_modify_qp()
H A Dmlx5_ib.h843 static inline struct mlx5_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() function
H A Dmlx5_ib_devx.c619 struct mlx5_core_srq *srq = &(to_msrq(uobj->object)->msrq); in devx_is_valid_obj_id()
637 to_msrq(uobj->object)->msrq.srqn) == in devx_is_valid_obj_id()
/freebsd/contrib/ofed/libmlx4/
H A Dverbs.c739 if (to_msrq(srq)->ext_srq) in mlx4_destroy_srq()
746 mlx4_free_db(to_mctx(srq->context), MLX4_DB_TYPE_RQ, to_msrq(srq)->db); in mlx4_destroy_srq()
747 mlx4_free_buf(&to_msrq(srq)->buf); in mlx4_destroy_srq()
748 free(to_msrq(srq)->wrid); in mlx4_destroy_srq()
749 pthread_spin_destroy(&to_msrq(srq)->lock); in mlx4_destroy_srq()
750 free(to_msrq(srq)); in mlx4_destroy_srq()
1043 qp->srq ? to_msrq(qp->srq) : NULL); in mlx4_modify_qp()
1114 ibqp->srq ? to_msrq(ibqp->srq) : NULL); in mlx4_destroy_qp()
H A Dsrq.c66 struct mlx4_srq *srq = to_msrq(ibsrq); in mlx4_post_srq_recv()
309 struct mlx4_srq *msrq = to_msrq(srq); in mlx4_destroy_xrc_srq()
H A Dmlx4.h329 static inline struct mlx4_srq *to_msrq(struct ibv_srq *ibsrq) in to_msrq() function
H A Dcq.c285 srq = ((*cur_qp)->verbs_qp.qp.srq) ? to_msrq((*cur_qp)->verbs_qp.qp.srq) : NULL; in mlx4_parse_cqe()
/freebsd/sys/dev/mthca/
H A Dmthca_srq.c370 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_modify_srq()
393 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_query_srq()
481 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_tavor_post_srq_recv()
581 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_arbel_post_srq_recv()
H A Dmthca_provider.h331 static inline struct mthca_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() function
H A Dmthca_provider.c412 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_create_srq()
461 context->db_tab, to_msrq(srq)->db_index); in mthca_destroy_srq()
464 mthca_free_srq(to_mdev(srq->device), to_msrq(srq)); in mthca_destroy_srq()
H A Dmthca_qp.c774 to_msrq(ibqp->srq)->srqn); in __mthca_modify_qp()
824 qp->ibqp.srq ? to_msrq(qp->ibqp.srq) : NULL); in __mthca_modify_qp()
1463 qp->ibqp.srq ? to_msrq(qp->ibqp.srq) : NULL); in mthca_free_qp()
H A Dmthca_cq.c545 struct mthca_srq *srq = to_msrq((*cur_qp)->ibqp.srq); in mthca_poll_one()
/freebsd/contrib/ofed/libmlx5/
H A Dsrq.c90 struct mlx5_srq *srq = to_msrq(ibsrq); in mlx5_post_srq_recv()
H A Dverbs.c752 struct mlx5_srq *msrq = to_msrq(srq); in mlx5_destroy_srq()
1521 ibqp->srq ? to_msrq(ibqp->srq) : NULL); in mlx5_destroy_qp()
1625 qp->srq ? to_msrq(qp->srq) : NULL); in mlx5_modify_qp()
1777 struct mlx5_srq *msrq = to_msrq(srq); in mlx5_get_srq_num()
H A Dmlx5.h500 static inline struct mlx5_srq *to_msrq(struct ibv_srq *ibsrq) in to_msrq() function
H A Dcq.c381 *cur_srq = to_msrq(mqp->verbs_qp.qp.srq); in get_resp_ctx_v1()