diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2009-01-05 14:18:10 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-07 16:51:20 -0500 |
commit | 444786d7fdd770f67e29a068ec8ee981d323f7a7 (patch) | |
tree | 48532938e4056e980c64c3a5679798b9818d50b2 /drivers/scsi/qla2xxx/qla_mid.c | |
parent | d63ab53394f408f9e59f5b6ba0580f8c6ef2357a (diff) |
[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 386ffeae5b5a..886323130fcc 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, | |||
614 | req->vp_idx = vp_idx; | 614 | req->vp_idx = vp_idx; |
615 | req->qos = qos; | 615 | req->qos = qos; |
616 | 616 | ||
617 | if (ha->rsp_q_map[rsp_que]) | 617 | if (ha->rsp_q_map[rsp_que]) { |
618 | req->rsp = ha->rsp_q_map[rsp_que]; | 618 | req->rsp = ha->rsp_q_map[rsp_que]; |
619 | req->rsp->req = req; | ||
620 | } | ||
619 | /* Use alternate PCI bus number */ | 621 | /* Use alternate PCI bus number */ |
620 | if (MSB(req->rid)) | 622 | if (MSB(req->rid)) |
621 | options |= BIT_4; | 623 | options |= BIT_4; |