summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_crtn.h
diff options
context:
space:
mode:
authorJames Smart2017-04-22 01:04:59 +0200
committerChristoph Hellwig2017-04-24 09:25:49 +0200
commit2b7824d00d9cae2e625dcf6b004c5d738a9c8df4 (patch)
tree9f2ddfe1630a333090696ca4bb9c5b9613639547 /drivers/scsi/lpfc/lpfc_crtn.h
parentRemove hba lock from NVMET issue WQE. (diff)
downloadkernel-qcow2-linux-2b7824d00d9cae2e625dcf6b004c5d738a9c8df4.tar.gz
kernel-qcow2-linux-2b7824d00d9cae2e625dcf6b004c5d738a9c8df4.tar.xz
kernel-qcow2-linux-2b7824d00d9cae2e625dcf6b004c5d738a9c8df4.zip
Fix driver load issues when MRQ=8
The symptom is that the driver will fail to login to the fabric. The reason is because it is out of iocb resources. There is a one to one relationship between MRQs (receive buffers for NVMET-FC) and iocbs and the default number of IOCBs was not accounting for the number of MRQs that were being created. This fix aligns the number of MRQ resources with the total resources so that it can handle fabric events when needed. Also the initialization of ctxlock to be on FCP commands, NOT LS commands. And modified log messages so that the log output can be correlated with the analyzer trace. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_crtn.h')
0 files changed, 0 insertions, 0 deletions