]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lpfc 8.3.25: T10 DIF Fixes
authorJames Smart <james.smart@emulex.com>
Fri, 22 Jul 2011 22:36:25 +0000 (18:36 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:40:58 +0000 (11:40 -0700)
commit865b5c432e9ab4910badf3e9b313ca9860a9c0b8
tree3e24038988a0646bd6cbb930029557eb3702f88b
parent1d43a87614596faf4b9cae2d0c894aa67a7c5121
lpfc 8.3.25: T10 DIF Fixes

commit 7c56b9fd3b6d2d933075d12abee67ceb7c90d04a upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_scsi.c