diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2009-01-05 11:18:10 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-07 15:51:20 -0600 |
commit | 444786d7fdd770f67e29a068ec8ee981d323f7a7 (patch) | |
tree | 48532938e4056e980c64c3a5679798b9818d50b2 /drivers/scsi/qla2xxx/qla_mid.c | |
parent | d63ab53394f408f9e59f5b6ba0580f8c6ef2357a (diff) | |
download | kernel_samsung_smdk4412-444786d7fdd770f67e29a068ec8ee981d323f7a7.zip kernel_samsung_smdk4412-444786d7fdd770f67e29a068ec8ee981d323f7a7.tar.gz kernel_samsung_smdk4412-444786d7fdd770f67e29a068ec8ee981d323f7a7.tar.bz2 |
[SCSI] qla2xxx: Use proper request/response queues with MQ instantiations.
Original code would inadvertanly place I/Os on the default
request-queue. Also, correctly pass in the proper MSI-X vector
during response-queue initialization.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_mid.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_mid.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mid.c b/drivers/scsi/qla2xxx/qla_mid.c index 386ffea..8863231 100644 --- a/drivers/scsi/qla2xxx/qla_mid.c +++ b/drivers/scsi/qla2xxx/qla_mid.c @@ -614,8 +614,10 @@ qla25xx_create_req_que(struct qla_hw_data *ha, uint16_t options, req->vp_idx = vp_idx; req->qos = qos; - if (ha->rsp_q_map[rsp_que]) + if (ha->rsp_q_map[rsp_que]) { req->rsp = ha->rsp_q_map[rsp_que]; + req->rsp->req = req; + } /* Use alternate PCI bus number */ if (MSB(req->rid)) options |= BIT_4; |