• Nicholas Bellinger's avatar
    tcm_qla2xxx: Set TARGET_PROT_ALL for sup_prot_ops · 59bb0ff5
    Nicholas Bellinger authored
    This patch adds the missing TARGET_PROT_ALL when initializing a new
    session and declaring the capable se_sess->sup_prot_ops for T10-PI.
    
    This is required in order to function with existing qla_target.c
    DIF protection offload support.
    
    Cc: Quinn Tran <quinn.tran@qlogic.com>
    Cc: Saurav Kashyap <saurav.kashyap@qlogic.com>
    Cc: Giridhar Malavali <giridhar.malavali@qlogic.com>
    Cc: Martin Petersen <martin.petersen@oracle.com>
    Cc: Sagi Grimberg <sagig@mellanox.com>
    Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
    59bb0ff5
tcm_qla2xxx.c 60.7 KB