aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crc-t10dif.c
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2009-09-18 17:33:03 -0400
committerJames Bottomley <James.Bottomley@suse.de>2009-10-02 10:47:17 -0400
commit395cef030c99349d238563095adc63ea72641192 (patch)
tree39c13437e8da8ef77805bba1e2a2d3e710f2bc48 /lib/crc-t10dif.c
parent4e7392ec582cf06753b0969ca9ab959923e38493 (diff)
[SCSI] scsi_debug: Implement support for DIF Type 2
Add support for 32-byte READ/WRITE as well as DIF Type 2 protection. Reject protected 10/12/16 byte READ/WRITE commands when Type 2 is enabled. Verify Type 2 reference tag according to Expected Initial LBA in 32-byte CDB. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Acked-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'lib/crc-t10dif.c')
0 files changed, 0 insertions, 0 deletions