diff options
author | James Smart <james.smart@emulex.com> | 2011-10-10 21:34:11 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-10-16 11:32:53 -0500 |
commit | f9bb2da11db805fca899a18d7d1bb97860fc2cd5 (patch) | |
tree | f43a24da27b0600fb2e98c035cadf5c930bf2a79 /drivers/scsi/lpfc/lpfc_sli.c | |
parent | 5350d872c19a59ef8eadab1e70db83064c134cfa (diff) | |
download | blackbird-op-linux-f9bb2da11db805fca899a18d7d1bb97860fc2cd5.tar.gz blackbird-op-linux-f9bb2da11db805fca899a18d7d1bb97860fc2cd5.zip |
[SCSI] lpfc 8.3.27: T10 additions for SLI4
Added T10 DIFF error injection code.
Added T10 DIFF structure definitions for SLI4 devices.
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_sli.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_sli.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index c430aada02be..4d4104f38c98 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c @@ -7538,6 +7538,8 @@ lpfc_sli4_bpl2sgl(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, if (inbound == 1) offset = 0; bf_set(lpfc_sli4_sge_offset, sgl, offset); + bf_set(lpfc_sli4_sge_type, sgl, + LPFC_SGE_TYPE_DATA); offset += bde.tus.f.bdeSize; } sgl->word2 = cpu_to_le32(sgl->word2); |