]> git.baikalelectronics.ru Git - kernel.git/commit
tcm_qla2xxx: Set TARGET_PROT_ALL for sup_prot_ops
authorNicholas Bellinger <nab@linux-iscsi.org>
Sun, 8 Feb 2015 20:49:46 +0000 (12:49 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 8 Apr 2015 06:27:47 +0000 (23:27 -0700)
commit00bc1231a376a0001d4750277a57693336c2bcdd
tree08e7e4f0aa669b68a18599666817d69fa4f7cf17
parentcd3134c0166ac285f674e8d7341095e27c363d2b
tcm_qla2xxx: Set TARGET_PROT_ALL for sup_prot_ops

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: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/qla2xxx/tcm_qla2xxx.c