Commit 6b1f4446 authored by Giridhar Malavali's avatar Giridhar Malavali Committed by Martin K. Petersen

scsi: qla2xxx: Increase the max_sgl_segments to 1024

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: default avatarGiridhar Malavali <gmalavali@marvell.com>
Signed-off-by: default avatarHimanshu Madhani <hmadhani@marvell.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 0257eda0
...@@ -573,7 +573,7 @@ static struct nvme_fc_port_template qla_nvme_fc_transport = { ...@@ -573,7 +573,7 @@ static struct nvme_fc_port_template qla_nvme_fc_transport = {
.fcp_io = qla_nvme_post_cmd, .fcp_io = qla_nvme_post_cmd,
.fcp_abort = qla_nvme_fcp_abort, .fcp_abort = qla_nvme_fcp_abort,
.max_hw_queues = 8, .max_hw_queues = 8,
.max_sgl_segments = 128, .max_sgl_segments = 1024,
.max_dif_sgl_segments = 64, .max_dif_sgl_segments = 64,
.dma_boundary = 0xFFFFFFFF, .dma_boundary = 0xFFFFFFFF,
.local_priv_sz = 8, .local_priv_sz = 8,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment