Blame SOURCES/0047-scsi-scsi-qla2xxx-Increase-the-max_sgl_segments-to-1.patch

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