diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2009-01-04 03:08:19 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-03-12 12:57:55 -0500 |
commit | c6a44287417de1625a59f1d4ae52d033c03b9dab (patch) | |
tree | 380e7fdb6f689196a648c7c8bc3cf41c5cd58fcc /drivers/net/skfp/queue.c | |
parent | 59d3270326fcba29226c28df27cb43fefd8c58d0 (diff) |
[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 <martin.petersen@oracle.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/net/skfp/queue.c')
0 files changed, 0 insertions, 0 deletions