Lines Matching refs:cur_qp
662 struct mlx4_ib_qp **cur_qp, in mlx4_ib_poll_one() argument
713 if (!*cur_qp || in mlx4_ib_poll_one()
714 (be32_to_cpu(cqe->vlan_my_qpn) & MLX4_CQE_QPN_MASK) != (*cur_qp)->mqp.qpn) { in mlx4_ib_poll_one()
722 *cur_qp = to_mibqp(mqp); in mlx4_ib_poll_one()
725 wc->qp = &(*cur_qp)->ibqp; in mlx4_ib_poll_one()
737 wq = &(*cur_qp)->sq; in mlx4_ib_poll_one()
738 if (!(*cur_qp)->sq_signal_bits) { in mlx4_ib_poll_one()
744 } else if ((*cur_qp)->ibqp.srq) { in mlx4_ib_poll_one()
745 srq = to_msrq((*cur_qp)->ibqp.srq); in mlx4_ib_poll_one()
755 wq = &(*cur_qp)->rq; in mlx4_ib_poll_one()
840 (*cur_qp)->port) == in mlx4_ib_poll_one()
843 if ((*cur_qp)->mlx4_ib_qp_type & in mlx4_ib_poll_one()
846 use_tunnel_data(*cur_qp, cq, wc, tail, cqe, in mlx4_ib_poll_one()
884 struct mlx4_ib_qp *cur_qp = NULL; in mlx4_ib_poll_cq() local
896 if (mlx4_ib_poll_one(cq, &cur_qp, wc + npolled)) in mlx4_ib_poll_cq()