Skip to content

Commit 62f02d3

Browse files
committed
scsi: qla2xxx: Skip IRQ affinity for Target QPairs
(bsc#1043726,FATE#324770). suse-commit: afc9b3ca42238ef57ad620e946be54fa96061e96
1 parent 16c44d3 commit 62f02d3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

drivers/scsi/qla2xxx/qla_os.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6610,9 +6610,14 @@ qla83xx_disable_laser(scsi_qla_host_t *vha)
66106610

66116611
static int qla2xxx_map_queues(struct Scsi_Host *shost)
66126612
{
6613+
int rc;
66136614
scsi_qla_host_t *vha = (scsi_qla_host_t *)shost->hostdata;
66146615

6615-
return blk_mq_pci_map_queues(&shost->tag_set, vha->hw->pdev);
6616+
if (USER_CTRL_IRQ(vha->hw))
6617+
rc = blk_mq_map_queues(&shost->tag_set);
6618+
else
6619+
rc = blk_mq_pci_map_queues(&shost->tag_set, vha->hw->pdev);
6620+
return rc;
66166621
}
66176622

66186623
static const struct pci_error_handlers qla2xxx_err_handler = {

0 commit comments

Comments
 (0)