Lines Matching refs:cur_qp
658 struct mlx4_ib_qp **cur_qp, in mlx4_ib_poll_one() argument
709 if (!*cur_qp || in mlx4_ib_poll_one()
710 (be32_to_cpu(cqe->vlan_my_qpn) & MLX4_CQE_QPN_MASK) != (*cur_qp)->mqp.qpn) { in mlx4_ib_poll_one()
718 *cur_qp = to_mibqp(mqp); in mlx4_ib_poll_one()
721 wc->qp = &(*cur_qp)->ibqp; in mlx4_ib_poll_one()
733 wq = &(*cur_qp)->sq; in mlx4_ib_poll_one()
734 if (!(*cur_qp)->sq_signal_bits) { in mlx4_ib_poll_one()
740 } else if ((*cur_qp)->ibqp.srq) { in mlx4_ib_poll_one()
741 srq = to_msrq((*cur_qp)->ibqp.srq); in mlx4_ib_poll_one()
751 wq = &(*cur_qp)->rq; in mlx4_ib_poll_one()
836 (*cur_qp)->port) == in mlx4_ib_poll_one()
839 if ((*cur_qp)->mlx4_ib_qp_type & in mlx4_ib_poll_one()
842 use_tunnel_data(*cur_qp, cq, wc, tail, cqe, in mlx4_ib_poll_one()
881 struct mlx4_ib_qp *cur_qp = NULL; in mlx4_ib_poll_cq() local
893 if (mlx4_ib_poll_one(cq, &cur_qp, wc + npolled)) in mlx4_ib_poll_cq()