From 73353cee67066aa4576c4d29cdd9efe9f97ebf6e Mon Sep 17 00:00:00 2001
From: Himanshu Madhani <hmadhani@redhat.com>
Date: Thu, 1 Aug 2019 15:55:07 -0400
Subject: [PATCH 047/124] [scsi] scsi: qla2xxx: Increase the max_sgl_segments
to 1024
Message-id: <20190801155618.12650-48-hmadhani@redhat.com>
Patchwork-id: 267824
O-Subject: [RHEL 7.8 e-stor PATCH 047/118] scsi: qla2xxx: Increase the max_sgl_segments to 1024
Bugzilla: 1729270
RH-Acked-by: Jarod Wilson <jarod@redhat.com>
RH-Acked-by: Tony Camuso <tcamuso@redhat.com>
From: Giridhar Malavali <gmalavali@marvell.com>
Bugzilla 1729270
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>
(cherry picked from commit 6b1f44466d9b3d7de04e4988a680f0e1a0850360)
Signed-off-by: Himanshu Madhani <hmadhani@redhat.com>
Signed-off-by: Jan Stancek <jstancek@redhat.com>
---
drivers/scsi/qla2xxx/qla_nvme.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/qla2xxx/qla_nvme.c b/drivers/scsi/qla2xxx/qla_nvme.c
index 53496b1bafb6..c6522eb314a2 100644
--- a/drivers/scsi/qla2xxx/qla_nvme.c
+++ b/drivers/scsi/qla2xxx/qla_nvme.c
@@ -585,7 +585,7 @@ static struct nvme_fc_port_template qla_nvme_fc_transport = {
.fcp_abort = qla_nvme_fcp_abort,
.poll_queue = qla_nvme_poll,
.max_hw_queues = 8,
- .max_sgl_segments = 128,
+ .max_sgl_segments = 1024,
.max_dif_sgl_segments = 64,
.dma_boundary = 0xFFFFFFFF,
.local_priv_sz = 8,
--
2.13.6