summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_nvmet.h
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2017-04-21 16:04:45 -0700
committerChristoph Hellwig <hch@lst.de>2017-04-24 09:25:48 +0200
commita44e4e8b6bf22926be6ed63f99def5e62953ac08 (patch)
tree32ab9d8145d76f9d5efb7a1e56ac7ce0add1a7f2 /drivers/scsi/lpfc/lpfc_nvmet.h
parent36b8890e91690fa392fa0bf7913fed79b156c194 (diff)
downloadlinux-a44e4e8b6bf22926be6ed63f99def5e62953ac08.tar.gz
linux-a44e4e8b6bf22926be6ed63f99def5e62953ac08.tar.bz2
linux-a44e4e8b6bf22926be6ed63f99def5e62953ac08.zip
Standardize nvme SGL segment count
Standardize default SGL segment count for nvme target and initiator The driver needs to make them the same for clarity. 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_nvmet.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_nvmet.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/lpfc/lpfc_nvmet.h b/drivers/scsi/lpfc/lpfc_nvmet.h
index 02735fc6fd41..d8bac4c61541 100644
--- a/drivers/scsi/lpfc/lpfc_nvmet.h
+++ b/drivers/scsi/lpfc/lpfc_nvmet.h
@@ -21,9 +21,7 @@
* included with this package. *
********************************************************************/
-#define LPFC_NVMET_MIN_SEGS 16
-#define LPFC_NVMET_DEFAULT_SEGS 64 /* 256K IOs */
-#define LPFC_NVMET_MAX_SEGS 510
+#define LPFC_NVMET_DEFAULT_SEGS (64 + 1) /* 256K IOs */
#define LPFC_NVMET_SUCCESS_LEN 12
/* Used for NVME Target */