summaryrefslogtreecommitdiffstats
path: root/drivers/target/tcm_fc
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2013-12-23 21:39:23 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2014-01-19 03:22:06 +0100
commit59dedde2b67130bf81a2df55df464909c7459df5 (patch)
tree377a2f3b01dddeb630e3d6165302993074360da5 /drivers/target/tcm_fc
parenttarget/rd: Add DIF protection into rd_execute_rw (diff)
downloadlinux-59dedde2b67130bf81a2df55df464909c7459df5.tar.xz
linux-59dedde2b67130bf81a2df55df464909c7459df5.zip
tcm_loop: Enable DIF/DIX modes in SCSI host LLD
This patch updates tcm_loop_driver_probe() to set protection information using scsi_host_set_prot() and scsi_host_set_guard(), which currently enabled all modes of DIF/DIX protection, minus DIX TYPE0. Also, update tcm_loop_submission_work() to pass struct scsi_cmnd related protection into target_submit_cmd_map_sgls() during CDB dispatch. Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.de> Cc: Sagi Grimberg <sagig@mellanox.com> Cc: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/tcm_fc')
0 files changed, 0 insertions, 0 deletions