diff options
-rw-r--r-- | drivers/infiniband/hw/ehca/ehca_reqs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_reqs.c b/drivers/infiniband/hw/ehca/ehca_reqs.c index 898c8b5c38dd..d0a1c674a11b 100644 --- a/drivers/infiniband/hw/ehca/ehca_reqs.c +++ b/drivers/infiniband/hw/ehca/ehca_reqs.c | |||
@@ -589,7 +589,7 @@ static inline int ehca_poll_cq_one(struct ib_cq *cq, struct ib_wc *wc) | |||
589 | struct ehca_qp *my_qp; | 589 | struct ehca_qp *my_qp; |
590 | int cqe_count = 0, is_error; | 590 | int cqe_count = 0, is_error; |
591 | 591 | ||
592 | poll_cq_one_read_cqe: | 592 | repoll: |
593 | cqe = (struct ehca_cqe *) | 593 | cqe = (struct ehca_cqe *) |
594 | ipz_qeit_get_inc_valid(&my_cq->ipz_queue); | 594 | ipz_qeit_get_inc_valid(&my_cq->ipz_queue); |
595 | if (!cqe) { | 595 | if (!cqe) { |
@@ -617,7 +617,7 @@ poll_cq_one_read_cqe: | |||
617 | ehca_dmp(cqe, 64, "cq_num=%x qp_num=%x", | 617 | ehca_dmp(cqe, 64, "cq_num=%x qp_num=%x", |
618 | my_cq->cq_number, cqe->local_qp_number); | 618 | my_cq->cq_number, cqe->local_qp_number); |
619 | /* ignore this purged cqe */ | 619 | /* ignore this purged cqe */ |
620 | goto poll_cq_one_read_cqe; | 620 | goto repoll; |
621 | } | 621 | } |
622 | spin_lock_irqsave(&qp->spinlock_s, flags); | 622 | spin_lock_irqsave(&qp->spinlock_s, flags); |
623 | purgeflag = qp->sqerr_purgeflag; | 623 | purgeflag = qp->sqerr_purgeflag; |
@@ -636,7 +636,7 @@ poll_cq_one_read_cqe: | |||
636 | * that caused sqe and turn off purge flag | 636 | * that caused sqe and turn off purge flag |
637 | */ | 637 | */ |
638 | qp->sqerr_purgeflag = 0; | 638 | qp->sqerr_purgeflag = 0; |
639 | goto poll_cq_one_read_cqe; | 639 | goto repoll; |
640 | } | 640 | } |
641 | } | 641 | } |
642 | 642 | ||