diff options
author | Nicholas Bellinger <[email protected]> | 2013-12-23 20:39:23 +0000 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2014-01-19 02:22:06 +0000 |
commit | 59dedde2b67130bf81a2df55df464909c7459df5 (patch) | |
tree | 377a2f3b01dddeb630e3d6165302993074360da5 /tools/perf/util/trace-event-scripting.c | |
parent | 6e611119b16c73a6e1c450d00deb4d7eef853336 (diff) |
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 <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Cc: Or Gerlitz <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions