]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Enlarge max_sectors in scsi host templates
authorJames Smart <james.smart@broadcom.com>
Tue, 20 Oct 2020 20:27:16 +0000 (13:27 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 27 Oct 2020 01:42:38 +0000 (21:42 -0400)
commitfcae15c255d15348267a7816c6c7b8c2fa48ad24
tree07718d74fd11c430b12d8513b7a8b52a518bb2eb
parente1afa3b2270199de3362ae52c5ae4af0bd7cbda7
scsi: lpfc: Enlarge max_sectors in scsi host templates

The driver supports arbitrarily large scatter-gather lists and the current
value for max_sectors is limiting.

Change max_sectors to the largest value.  This was actually done prior but
it only corrected one template and that template was later removed.

So change the remaining 2 templates. Other areas which hard-set the sectors
value should be inheriting what is in the template.

Link: https://lore.kernel.org/r/20201020202719.54726-7-james.smart@broadcom.com
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_scsi.c