Searched refs:to_msrq (Results 1 – 13 of 13) sorted by relevance
237 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_modify_srq()262 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_query_srq()280 struct mlx4_ib_srq *msrq = to_msrq(srq); in mlx4_ib_destroy_srq()317 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_post_srq_recv()
670 static inline struct mlx4_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() function
757 srq = to_msrq((*cur_qp)->ibqp.srq); in mlx4_ib_poll_one()
1045 qp->ibqp.srq ? to_msrq(qp->ibqp.srq): NULL); in destroy_qp_common()1778 context->srqn = cpu_to_be32(1 << 24 | to_msrq(ibqp->srq)->msrq.srqn); in __mlx4_ib_modify_qp()1914 ibqp->srq ? to_msrq(ibqp->srq) : NULL); in __mlx4_ib_modify_qp()
347 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_modify_srq()372 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_query_srq()396 struct mlx5_ib_srq *msrq = to_msrq(srq); in mlx5_ib_destroy_srq()428 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_post_srq_recv()
994 in->ctx.rq_type_srqn |= cpu_to_be32(to_msrq(devr->s0)->msrq.srqn); in create_qp_common()1000 in->ctx.rq_type_srqn |= cpu_to_be32(to_msrq(devr->s0)->msrq.srqn); in create_qp_common()1005 in->ctx.rq_type_srqn |= cpu_to_be32(to_msrq(init_attr->srq)->msrq.srqn); in create_qp_common()1009 cpu_to_be32(to_msrq(devr->s1)->msrq.srqn); in create_qp_common()1168 qp->ibqp.srq ? to_msrq(qp->ibqp.srq) : NULL); in destroy_qp_common()1741 ibqp->srq ? to_msrq(ibqp->srq) : NULL); in __mlx5_ib_modify_qp()
188 srq = to_msrq(qp->ibqp.srq); in handle_responder()511 srq = to_msrq((*cur_qp)->ibqp.srq); in mlx5_poll_one()
471 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
505 context->db_tab, to_msrq(srq)->db_index); in mthca_destroy_srq()508 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()