qla2xxx: Cleanup TMF code translation from qla_target
authorQuinn Tran <quinn.tran@cavium.com>
Fri, 20 Jan 2017 06:27:54 +0000 (22:27 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 9 Feb 2017 07:33:24 +0000 (23:33 -0800)
commitbe92fc3fde95c94bb54ff471219552a581640a6b
treede9355f0b87bc36ee75ba5e2097b7ac7f93ba8f1
parentdf2e32c5ada8590b859863cf89f418c7962b9a21
qla2xxx: Cleanup TMF code translation from qla_target

Move code code which converts Task Mgmt Command flags for
ATIO to TCM #defines, from qla2xxx driver to tcm_qla2xxx
driver.

Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/qla2xxx/qla_target.c
drivers/scsi/qla2xxx/qla_target.h
drivers/scsi/qla2xxx/tcm_qla2xxx.c