summaryrefslogtreecommitdiff
path: root/drivers/scsi/lpfc/lpfc_ct.c
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2018-04-10 00:24:28 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-04-19 02:34:04 +0300
commitbf316c78517d9437656293f65a70d6ecdc2ec58e (patch)
tree8ae623e9b580ec1782dbc2d8711cff8a9c9d5e88 /drivers/scsi/lpfc/lpfc_ct.c
parent01466024d2de1c05652d69411461e8e7908f0d1e (diff)
downloadlinux-bf316c78517d9437656293f65a70d6ecdc2ec58e.tar.xz
scsi: lpfc: Fix WQ/CQ creation for older asic's.
The patch to enlarge WQ/CQ creation keys off of an adapter response that indicates support for the larger values. Older adapters return an incorrect response and are limited in size. Thus the adapters fail the WQ creation steps. Augment the WQ sizing checks with a check on the older adapter types and limit them to the restricted sizes. Fixes: c176ffa0841c ("scsi: lpfc: Increase CQ and WQ sizes for SCSI") Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_ct.c')
0 files changed, 0 insertions, 0 deletions