summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_lib_dma.c
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2017-04-21 16:05:01 -0700
committerChristoph Hellwig <hch@lst.de>2017-04-24 09:25:49 +0200
commit4d4c4a4ac756e7a0198259a49eeaf0d4a0e9a4fb (patch)
treeb82435fd8cf61fb069c8b9971a171064c059624e /drivers/scsi/scsi_lib_dma.c
parent9d3d340d19d36b923d768f25c66cedc900d8ad90 (diff)
downloadop-kernel-dev-4d4c4a4ac756e7a0198259a49eeaf0d4a0e9a4fb.zip
op-kernel-dev-4d4c4a4ac756e7a0198259a49eeaf0d4a0e9a4fb.tar.gz
Fix max_sgl_segments settings for NVME / NVMET
Cannot set NVME segment counts to a large number The existing module parameter lpfc_sg_seg_cnt is used for both SCSI and NVME. Limit the module parameter lpfc_sg_seg_cnt to 128 with the default being 64 for both NVME and NVMET, assuming NVME is enabled in the driver for that port. The driver will set max_sgl_segments in the NVME/NVMET template to lpfc_sg_seg_cnt + 1. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Diffstat (limited to 'drivers/scsi/scsi_lib_dma.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud