scsi: qla2xxx: Increase the max_sgl_segments to 1024
authorGiridhar Malavali <gmalavali@marvell.com>
Tue, 2 Apr 2019 21:24:23 +0000 (14:24 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Apr 2019 03:11:36 +0000 (23:11 -0400)
This patch increases max_sgl_segments value from 128 to the maximum
supported which is 1024. Increasing max_sgl_segments will allow the driver
to support larger I/O sizes

[mkp: commit desc tweak]

Signed-off-by: Giridhar Malavali <gmalavali@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_nvme.c

index 41c85da3ab32a272cb4920d593cdf8349c7e6375..cc2afc21a30dc81b541c11c3beb4b4244963bfd5 100644 (file)
@@ -573,7 +573,7 @@ static struct nvme_fc_port_template qla_nvme_fc_transport = {
        .fcp_io         = qla_nvme_post_cmd,
        .fcp_abort      = qla_nvme_fcp_abort,
        .max_hw_queues  = 8,
-       .max_sgl_segments = 128,
+       .max_sgl_segments = 1024,
        .max_dif_sgl_segments = 64,
        .dma_boundary = 0xFFFFFFFF,
        .local_priv_sz  = 8,