From: Armen Baloyan Date: Fri, 11 Apr 2014 20:54:25 +0000 (-0400) Subject: qla2xxx: Decrease pci access for response queue processing for ISPFX00. X-Git-Tag: firefly_0821_release~176^2~3742^2~138 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9929c478123d3ce6020c5b771c8e8524ebb636fb;p=firefly-linux-kernel-4.4.55.git qla2xxx: Decrease pci access for response queue processing for ISPFX00. Signed-off-by: Armen Baloyan Signed-off-by: Saurav Kashyap Signed-off-by: Christoph Hellwig --- diff --git a/drivers/scsi/qla2xxx/qla_mr.c b/drivers/scsi/qla2xxx/qla_mr.c index 1801e5f4717a..eb9be2efe65b 100644 --- a/drivers/scsi/qla2xxx/qla_mr.c +++ b/drivers/scsi/qla2xxx/qla_mr.c @@ -2676,7 +2676,7 @@ qlafx00_process_response_queue(struct scsi_qla_host *vha, uint16_t lreq_q_out = 0; lreq_q_in = RD_REG_DWORD(rsp->rsp_q_in); - lreq_q_out = RD_REG_DWORD(rsp->rsp_q_out); + lreq_q_out = rsp->ring_index; while (lreq_q_in != lreq_q_out) { lptr = rsp->ring_ptr;