diff options
author | James Smart <jsmart2021@gmail.com> | 2017-04-21 16:05:01 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-04-24 09:25:49 +0200 |
commit | 4d4c4a4ac756e7a0198259a49eeaf0d4a0e9a4fb (patch) | |
tree | b82435fd8cf61fb069c8b9971a171064c059624e /drivers/scsi/fdomain.h | |
parent | 9d3d340d19d36b923d768f25c66cedc900d8ad90 (diff) | |
download | op-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/fdomain.h')
0 files changed, 0 insertions, 0 deletions