[SCSI] qla4xxx: Throttle active IOCBs to firmware limits
authorKaren Higgins <karen.higgins@qlogic.com>
Mon, 21 Jan 2013 04:51:00 +0000 (23:51 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 30 Jan 2013 02:47:16 +0000 (13:47 +1100)
commit5b1c1bff07d579f8a7b672d4e5262d52eba5ef01
tree83b802ffe3e95af2c8e2ecfc1fc907143149f274
parentff4108dce9e82acbde8e8b1899aaa4d91bf504b7
[SCSI] qla4xxx: Throttle active IOCBs to firmware limits

Problem:
QLA4xxx firmware may assert if given more IOCBs than it can handle.

Solution:
The driver was updated to throttle the number of active IOCBs based
on the total number of IOCB buffers received from get_firmware_status
mbx_sts[2].

Signed-off-by: Karen Higgins <karen.higgins@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_def.h
drivers/scsi/qla4xxx/ql4_iocb.c
drivers/scsi/qla4xxx/ql4_mbx.c
This page took 0.026375 seconds and 5 git commands to generate.