summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/test.h
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2015-03-28 08:03:51 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2015-04-08 08:27:46 +0200
commitb1d75fe53ef20b90bb64b1e48b905416f0dfde23 (patch)
tree6855a00cccc72be6cd888b1cc19c9bde0cd3c23f /drivers/vhost/test.h
parentloopback: Add fabric_prot_type attribute support (diff)
downloadlinux-b1d75fe53ef20b90bb64b1e48b905416f0dfde23.tar.xz
linux-b1d75fe53ef20b90bb64b1e48b905416f0dfde23.zip
vhost/scsi: Add fabric_prot_type attribute support
This patch updates vhost-scsi to add a new fabric_prot_type TPG attribute, used for controlling LLD level protection into LIO when the backend device does not support T10-PI. This is required for vhost-scsi to enable WRITE_STRIP + READ_INSERT operations using software emulation + crct10dif instruction offload. It's disabled by default and controls which se_sesion->sess_prot_type are set at vhost_scsi_make_nexus() session registration time. Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Martin Petersen <martin.petersen@oracle.com> Cc: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/vhost/test.h')
0 files changed, 0 insertions, 0 deletions