summaryrefslogtreecommitdiff
path: root/drivers/scsi/lpfc/lpfc_nl.h
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2017-04-22 02:05:01 +0300
committerChristoph Hellwig <hch@lst.de>2017-04-24 10:25:49 +0300
commit4d4c4a4ac756e7a0198259a49eeaf0d4a0e9a4fb (patch)
treeb82435fd8cf61fb069c8b9971a171064c059624e /drivers/scsi/lpfc/lpfc_nl.h
parent9d3d340d19d36b923d768f25c66cedc900d8ad90 (diff)
downloadlinux-4d4c4a4ac756e7a0198259a49eeaf0d4a0e9a4fb.tar.xz
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/lpfc/lpfc_nl.h')
0 files changed, 0 insertions, 0 deletions