Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • drivers
  • target
  • loopback
  • tcm_loop.c
Find file BlameHistoryPermalink
  • Nicholas Bellinger's avatar
    tcm_loop: Enable DIF/DIX modes in SCSI host LLD · 59dedde2
    Nicholas Bellinger authored Dec 23, 2013
    
    
    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: default avatarMartin 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: default avatarNicholas Bellinger <nab@linux-iscsi.org>
    59dedde2
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7