• Nicholas Bellinger's avatar
    iscsi/iser-target: Add fabric_prot_type attribute support · 901c04a3
    Nicholas Bellinger authored
    This patch updates iscsi/iser-target to add a new fabric_prot_type
    TPG attribute for iser-target, used for controlling LLD level
    protection into LIO when the backend device does not support T10-PI.
    
    This is required for ib_isert to enable WRITE_STRIP + READ_INSERT
    hardware offloads.
    
    It's disabled by default and controls which se_sesion->sess_prot_type
    are set at iscsi_target_locate_portal() session registration time.
    
    Cc: Sagi Grimberg <sagig@mellanox.com>
    Cc: Martin Petersen <martin.petersen@oracle.com>
    Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
    901c04a3
iscsi_target_configfs.c 57.6 KB