Nicholas Bellinger 64b1688774 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 <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: Nicholas Bellinger <nab@linux-iscsi.org>
2015-04-07 23:27:47 -07:00
..
2015-02-11 10:28:45 -08:00
2015-02-21 19:16:42 -08:00
2015-02-11 10:28:45 -08:00
2014-11-24 20:01:28 +01:00
2014-12-04 09:57:13 +01:00
2014-08-08 15:57:29 -07:00
2015-01-20 19:43:23 +01:00
2014-11-20 09:11:11 +01:00
2014-07-17 22:07:37 +02:00
2014-11-20 09:11:10 +01:00
2014-11-20 09:11:10 +01:00
2014-11-24 16:13:16 +01:00
2014-11-20 09:11:10 +01:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:16 -04:00
2015-01-19 10:46:20 +01:00
2015-01-19 10:46:20 +01:00
2013-04-09 14:13:27 -04:00
2014-08-08 15:57:29 -07:00
2013-04-09 14:13:15 -04:00
2014-07-17 22:07:35 +02:00
2014-11-24 20:01:28 +01:00
2014-11-20 09:11:10 +01:00
2014-11-20 09:11:10 +01:00
2013-04-09 14:13:17 -04:00
2014-07-25 17:16:55 -04:00
2014-07-17 22:07:37 +02:00
2015-02-11 10:28:45 -08:00
2015-02-11 10:28:45 -08:00
2014-11-12 11:15:57 +01:00
2015-01-09 15:44:19 +01:00
2015-02-21 19:16:42 -08:00
2014-07-17 22:07:39 +02:00
2014-11-24 20:01:28 +01:00
2014-11-12 11:15:57 +01:00
2015-02-11 17:06:05 -08:00
2012-09-14 17:59:29 +01:00
2014-11-20 09:11:15 +01:00
2014-11-20 09:11:10 +01:00
2014-11-20 09:11:10 +01:00
2013-04-09 14:13:15 -04:00