Lines Matching refs:cur_qp
451 struct mlx5_ib_qp **cur_qp, in mlx5_poll_one() argument
493 if (!*cur_qp || (qpn != (*cur_qp)->ibqp.qp_num)) { in mlx5_poll_one()
499 *cur_qp = to_mibqp(mqp); in mlx5_poll_one()
502 wc->qp = &(*cur_qp)->ibqp; in mlx5_poll_one()
505 wq = &(*cur_qp)->sq; in mlx5_poll_one()
509 handle_atomics(*cur_qp, cqe64, wq->last_poll, idx); in mlx5_poll_one()
518 handle_responder(wc, cqe64, *cur_qp); in mlx5_poll_one()
533 (*cur_qp)->type == MLX5_IB_QPT_REG_UMR) in mlx5_poll_one()
537 wq = &(*cur_qp)->sq; in mlx5_poll_one()
545 if ((*cur_qp)->ibqp.srq) { in mlx5_poll_one()
546 srq = to_msrq((*cur_qp)->ibqp.srq); in mlx5_poll_one()
551 wq = &(*cur_qp)->rq; in mlx5_poll_one()
613 struct mlx5_ib_qp *cur_qp = NULL; in mlx5_ib_poll_cq() local
635 if (mlx5_poll_one(cq, &cur_qp, wc + soft_polled + npolled)) in mlx5_ib_poll_cq()