scsi: qla2xxx: Skip IRQ affinity for Target QPairs
authorQuinn Tran <quinn.tran@cavium.com>
Mon, 4 Dec 2017 22:44:59 +0000 (14:44 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Mar 2018 09:54:25 +0000 (10:54 +0100)
commitfae72a2710013541910020c553db414d031282f6
tree196b52699723157a9f5d6c9e3a41977845e0bd4a
parent2cd1f76b293eb44f39c8d6663fc49f52c5f65aa6
scsi: qla2xxx: Skip IRQ affinity for Target QPairs

commit d68b850e1bfb9afb24b888a946165a186a710195 upstream.

Fix co-existence between Block MQ and Target Mode. Block MQ and
initiator mode requires midlayer queue mapping to check for IRQ to be
affinitized. For target mode, it's not the case.

Fixes: 09620eeb62c41 ("scsi: qla2xxx: Add debug knob for user control workload")
Cc: <stable@vger.kernel.org> # 4.12+
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/qla2xxx/qla_os.c