[SCSI] lpfc 8.3.25: T10 DIF Fixes
authorJames Smart <james.smart@emulex.com>
Fri, 22 Jul 2011 22:36:25 +0000 (18:36 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 27 Jul 2011 11:06:29 +0000 (15:06 +0400)
commit7c56b9fd3b6d2d933075d12abee67ceb7c90d04a
tree71edc723c736cdf55a738f8b56f83513238caebc
parent154fbf06485bbb6c28f1f7ebf462e4895613033c
[SCSI] lpfc 8.3.25: T10 DIF Fixes

T10 DIF Fixes

- Fix the case where the SCSI Host supplies the CRC and driver to controller
  protection is on.
- Only support T10 DIF type 1. LBA always goes in ref tag and app tag is not
  checked.
- Change the format of the sense data passed up to the SCSI layer to match the
  Descriptor Format Sense Data found in SPC-4 sections 4.5.2.1 and 4.5.2.2.
- Fix Slip PDE implementation.
- Remove BUG() in else casein lpfc_sc_to_bg_opcodes.

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>
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_scsi.c