scsi: qla2xxx: Added change to enable ZIO for FC-NVMe devices
Add support to the driver to set the exchange threshold value for the number of outstanding AENs. Signed-off-by: Duane Grigsby <duane.grigsby@cavium.com> Signed-off-by: Darren Trapp <darren.trapp@cavium.com> Signed-off-by: Anil Gurumurthy <anil.gurumurthy@cavium.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
committed by
Martin K. Petersen
parent
0f7e51f6b3
commit
deeae7a69f
@@ -1823,7 +1823,7 @@ qla24xx_nvme_iocb_entry(scsi_qla_host_t *vha, struct req_que *req, void *tsk)
|
||||
nvme = &sp->u.iocb_cmd;
|
||||
|
||||
if (unlikely(nvme->u.nvme.aen_op))
|
||||
atomic_dec(&sp->vha->nvme_active_aen_cnt);
|
||||
atomic_dec(&sp->vha->hw->nvme_active_aen_cnt);
|
||||
|
||||
/*
|
||||
* State flags: Bit 6 and 0.
|
||||
|
||||
Reference in New Issue
Block a user