mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
qla2x00t-32gbit: edif: Increment command and completion counts
Increment the command and the completion counts. Link: https://lore.kernel.org/r/20210624052606.21613-11-njavali@marvell.com Signed-off-by: Quinn Tran <qutran@marvell.com> Signed-off-by: Nilesh Javali <njavali@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> [ commit 71bef5020cd13e1aaa878d10481aafc1ecd4a8f6 upstream ] git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9535 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2926,6 +2926,7 @@ no_dsds:
|
||||
req->ring_ptr++;
|
||||
}
|
||||
|
||||
sp->qpair->cmd_cnt++;
|
||||
/* Set chip new ring index. */
|
||||
wrt_reg_dword(req->req_q_in, req->ring_index);
|
||||
|
||||
|
||||
@@ -3215,10 +3215,9 @@ qla2x00_status_entry(scsi_qla_host_t *vha, struct rsp_que *rsp, void *pkt)
|
||||
return;
|
||||
}
|
||||
|
||||
sp->qpair->cmd_completion_cnt++;
|
||||
|
||||
/* Fast path completion. */
|
||||
qla_chk_edif_rx_sa_delete_pending(vha, sp, sts24);
|
||||
sp->qpair->cmd_completion_cnt++;
|
||||
|
||||
if (comp_status == CS_COMPLETE && scsi_status == 0) {
|
||||
qla2x00_process_completed_request(vha, req, handle);
|
||||
|
||||
Reference in New Issue
Block a user