diff options
author | Nicholas Bellinger <[email protected]> | 2014-02-22 18:23:33 -0800 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2014-06-02 12:42:19 -0700 |
commit | e6dc783a38ec0f2a5a91edda3f76195dffb17a16 (patch) | |
tree | 1e14032708ce350bbdc575dd07cbc20c7c8235d4 /net/unix/af_unix.c | |
parent | 95e7c4341b8e28dae5204378087c1e2a115abc82 (diff) |
virtio-scsi: Enable DIF/DIX modes in SCSI host LLD
This patch updates virtscsi_probe() to setup necessary Scsi_Host
level protection resources. (currently hardcoded to 1)
It changes virtscsi_add_cmd() to attach outgoing / incoming
protection SGLs preceeding the data payload, and is using the
new virtio_scsi_cmd_req_pi->pi_bytes[out,in] field to signal
to signal to vhost/scsi bytes to expect for protection data.
(Add missing #include <linux/blkdev.h> for blk_integrity - sfr + nab)
Acked-by: Paolo Bonzini <[email protected]>
Cc: Michael S. Tsirkin <[email protected]>
Cc: Martin K. Petersen <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions