提交 a1a20ffd 编写于 作者: M Manish Rangankar 提交者: Martin K. Petersen

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: NManish Rangankar <manish.rangankar@cavium.com>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 96d5eaa9
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册