summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla2xxx/qla_edif.c
diff options
context:
space:
mode:
authorQuinn Tran <qutran@marvell.com>2021-06-24 08:26:05 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-07-27 07:06:44 +0300
commit71bef5020cd13e1aaa878d10481aafc1ecd4a8f6 (patch)
tree94ccd4cab3ae3ee8506008e0a5197c8627b85fd3 /drivers/scsi/qla2xxx/qla_edif.c
parent44d018577f179383ea2c409f3a392e9dbd1a155e (diff)
downloadlinux-71bef5020cd13e1aaa878d10481aafc1ecd4a8f6.tar.xz
scsi: qla2xxx: 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>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_edif.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_edif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_edif.c b/drivers/scsi/qla2xxx/qla_edif.c
index 8e730cc882e6..ccbe0e1bfcbc 100644
--- a/drivers/scsi/qla2xxx/qla_edif.c
+++ b/drivers/scsi/qla2xxx/qla_edif.c
@@ -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);