Searched refs:to_msrq (Results 1 – 13 of 13) sorted by relevance
232 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_modify_srq()257 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_query_srq()275 struct mlx4_ib_srq *msrq = to_msrq(srq); in mlx4_ib_destroy_srq()312 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_post_srq_recv()
623 static inline struct mlx4_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() function
748 srq = to_msrq((*cur_qp)->ibqp.srq); in mlx4_ib_poll_one()
1026 qp->ibqp.srq ? to_msrq(qp->ibqp.srq): NULL); in destroy_qp_common()1671 context->srqn = cpu_to_be32(1 << 24 | to_msrq(ibqp->srq)->msrq.srqn); in __mlx4_ib_modify_qp()1807 ibqp->srq ? to_msrq(ibqp->srq) : NULL); in __mlx4_ib_modify_qp()
348 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_modify_srq()373 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_query_srq()397 struct mlx5_ib_srq *msrq = to_msrq(srq); in mlx5_ib_destroy_srq()429 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_post_srq_recv()
1003 in->ctx.rq_type_srqn |= cpu_to_be32(to_msrq(devr->s0)->msrq.srqn); in create_qp_common()1009 in->ctx.rq_type_srqn |= cpu_to_be32(to_msrq(devr->s0)->msrq.srqn); in create_qp_common()1014 in->ctx.rq_type_srqn |= cpu_to_be32(to_msrq(init_attr->srq)->msrq.srqn); in create_qp_common()1017 in->ctx.rq_type_srqn |= cpu_to_be32(to_msrq(devr->s0)->msrq.srqn); in create_qp_common()1176 qp->ibqp.srq ? to_msrq(qp->ibqp.srq) : NULL); in destroy_qp_common()1755 ibqp->srq ? to_msrq(ibqp->srq) : NULL); in __mlx5_ib_modify_qp()
187 srq = to_msrq(qp->ibqp.srq); in handle_responder()503 srq = to_msrq((*cur_qp)->ibqp.srq); in mlx5_poll_one()
486 static inline struct mlx5_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() function
368 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_modify_srq()391 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_query_srq()479 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_tavor_post_srq_recv()579 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_arbel_post_srq_recv()
329 static inline struct mthca_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() function
501 context->db_tab, to_msrq(srq)->db_index); in mthca_destroy_srq()504 mthca_free_srq(to_mdev(srq->device), to_msrq(srq)); in mthca_destroy_srq()
770 to_msrq(ibqp->srq)->srqn); in __mthca_modify_qp()820 qp->ibqp.srq ? to_msrq(qp->ibqp.srq) : NULL); in __mthca_modify_qp()1457 qp->ibqp.srq ? to_msrq(qp->ibqp.srq) : NULL); in mthca_free_qp()
545 struct mthca_srq *srq = to_msrq((*cur_qp)->ibqp.srq); in mthca_poll_one()