mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
scsi: qedi: Drop cqe response during connection recovery
We get stuck in the loop when firmware sends a cqe response during connection recovery. Signed-off-by: Manish Rangankar <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
This commit is contained in:
committed by
Martin K. Petersen
parent
96d5eaa9bb
commit
a1a20ffde2
@@ -998,7 +998,9 @@ static bool qedi_process_completions(struct qedi_fastpath *fp)
|
||||
|
||||
ret = qedi_queue_cqe(qedi, cqe, fp->sb_id, p);
|
||||
if (ret)
|
||||
continue;
|
||||
QEDI_WARN(&qedi->dbg_ctx,
|
||||
"Dropping CQE 0x%x for cid=0x%x.\n",
|
||||
que->cq_cons_idx, cqe->cqe_common.conn_id);
|
||||
|
||||
que->cq_cons_idx++;
|
||||
if (que->cq_cons_idx == QEDI_CQ_SIZE)
|
||||
|
||||
Reference in New Issue
Block a user