Commit 6c02eed9 authored by Alexander Schmidt's avatar Alexander Schmidt Committed by Roland Dreier

IB/ehca: Rename goto label in ehca_poll_cq_one()

Rename the "poll_cq_one_read_cqe" goto label to what it actually does,
namely "repoll".
Signed-off-by: default avatarAlexander Schmidt <alexs@linux.vnet.ibm.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 51ad241a
...@@ -589,7 +589,7 @@ static inline int ehca_poll_cq_one(struct ib_cq *cq, struct ib_wc *wc) ...@@ -589,7 +589,7 @@ static inline int ehca_poll_cq_one(struct ib_cq *cq, struct ib_wc *wc)
struct ehca_qp *my_qp; struct ehca_qp *my_qp;
int cqe_count = 0, is_error; int cqe_count = 0, is_error;
poll_cq_one_read_cqe: repoll:
cqe = (struct ehca_cqe *) cqe = (struct ehca_cqe *)
ipz_qeit_get_inc_valid(&my_cq->ipz_queue); ipz_qeit_get_inc_valid(&my_cq->ipz_queue);
if (!cqe) { if (!cqe) {
...@@ -617,7 +617,7 @@ static inline int ehca_poll_cq_one(struct ib_cq *cq, struct ib_wc *wc) ...@@ -617,7 +617,7 @@ static inline int ehca_poll_cq_one(struct ib_cq *cq, struct ib_wc *wc)
ehca_dmp(cqe, 64, "cq_num=%x qp_num=%x", ehca_dmp(cqe, 64, "cq_num=%x qp_num=%x",
my_cq->cq_number, cqe->local_qp_number); my_cq->cq_number, cqe->local_qp_number);
/* ignore this purged cqe */ /* ignore this purged cqe */
goto poll_cq_one_read_cqe; goto repoll;
} }
spin_lock_irqsave(&qp->spinlock_s, flags); spin_lock_irqsave(&qp->spinlock_s, flags);
purgeflag = qp->sqerr_purgeflag; purgeflag = qp->sqerr_purgeflag;
...@@ -636,7 +636,7 @@ static inline int ehca_poll_cq_one(struct ib_cq *cq, struct ib_wc *wc) ...@@ -636,7 +636,7 @@ static inline int ehca_poll_cq_one(struct ib_cq *cq, struct ib_wc *wc)
* that caused sqe and turn off purge flag * that caused sqe and turn off purge flag
*/ */
qp->sqerr_purgeflag = 0; qp->sqerr_purgeflag = 0;
goto poll_cq_one_read_cqe; goto repoll;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment