• Nicholas Bellinger's avatar
    loopback: Add fabric_prot_type attribute support · 436f4a0a
    Nicholas Bellinger authored
    This patch updates loopback 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.
    
    Also, go ahead and set DIN_PASS + DOUT_PASS so target-core knows that
    it will be doing any WRITE_STRIP and READ_INSERT operations.
    
    Cc: Martin Petersen <martin.petersen@oracle.com>
    Cc: Sagi Grimberg <sagig@mellanox.com>
    Cc: Hannes Reinecke <hare@suse.de>
    Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
    436f4a0a
tcm_loop.h 1.5 KB