diff options
author | James Smart <james.smart@emulex.com> | 2013-04-18 02:16:05 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-05-02 21:44:43 +0200 |
commit | 09294d4623a3149ae2f5d35acf9d119bd957ddd8 (patch) | |
tree | 1f9fa31e9228f58e0cbbd16a3a89f53c1a79ae3c /drivers/scsi/lpfc/lpfc.h | |
parent | [SCSI] lpfc 8.3.39: Fixed pt2pt and loop discovery problems on topology changes. (diff) | |
download | linux-09294d4623a3149ae2f5d35acf9d119bd957ddd8.tar.xz linux-09294d4623a3149ae2f5d35acf9d119bd957ddd8.zip |
[SCSI] lpfc 8.3.39: Fix driver issues with large lpfc_sg_seg_cnt values
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h index 4c9f94bd6729..1f2f1f4530dd 100644 --- a/drivers/scsi/lpfc/lpfc.h +++ b/drivers/scsi/lpfc/lpfc.h @@ -48,6 +48,9 @@ struct lpfc_sli2_slim; downloads using bsg */ #define LPFC_DEFAULT_PROT_SG_SEG_CNT 4096 /* sg protection elements count */ #define LPFC_MAX_SG_SEG_CNT 4096 /* sg element count per scsi cmnd */ +#define LPFC_MAX_SGL_SEG_CNT 512 /* SGL element count per scsi cmnd */ +#define LPFC_MAX_BPL_SEG_CNT 4096 /* BPL element count per scsi cmnd */ + #define LPFC_MAX_SGE_SIZE 0x80000000 /* Maximum data allowed in a SGE */ #define LPFC_MAX_PROT_SG_SEG_CNT 4096 /* prot sg element count per scsi cmd*/ #define LPFC_IOCB_LIST_CNT 2250 /* list of IOCBs for fast-path usage. */ |