From: Nicholas Bellinger Date: Sat, 28 Mar 2015 06:30:57 +0000 (-0700) Subject: tcm_qla2xxx: Add fabric_prot_type attribute support X-Git-Tag: omap-for-v4.2/o2_dc~20^2~39 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64b16887749fd8e8000cc2ad1acca3cd29f84086;p=pandora-kernel.git tcm_qla2xxx: Add fabric_prot_type attribute support This patch updates qla2xxx target 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. This is required for qla_target.c to enable WRITE_STRIP + READ_INSERT hardware offloads. It's disabled by default and controls which se_sesion->sess_prot_type are set at tcm_qla2xxx_check_initiator_node_acl() session registration time. Cc: Quinn Tran Cc: Saurav Kashyap Cc: Giridhar Malavali Cc: Martin Petersen Cc: Sagi Grimberg Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed