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)
commit7c30bb62ed5db15cdb59f5722122fbed7421641c
tree07718d74fd11c430b12d8513b7a8b52a518bb2eb
parentf5201f87ccafd8d80283c87490bbdf78f8a026bf
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