From: Martin K. Petersen Date: Sun, 4 Jan 2009 08:08:19 +0000 (-0500) Subject: [SCSI] scsi_debug: DIF/DIX support X-Git-Tag: v2.6.30-rc1~641^2~115 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6a44287417de1625a59f1d4ae52d033c03b9dab;p=pandora-kernel.git [SCSI] scsi_debug: DIF/DIX support This patch adds support for DIX and DIF in scsi_debug. A separate buffer is allocated for the protection information. - The dix parameter indicates whether the controller supports DIX (protection information DMA) - The dif parameter indicates whether the simulated storage device supports DIF - The guard parameter switches between T10 CRC(0) and IP checksum(1) - The ato parameter indicates whether the application tag is owned by the disk(0) or the OS(1) - DIF and DIX errors can be triggered using the scsi_debug_opts mask Signed-off-by: Martin K. Petersen Acked-by: Douglas Gilbert Signed-off-by: James Bottomley --- Reading git-diff-tree failed