Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18ada18e authored by Quinn Tran's avatar Quinn Tran Committed by Martin K. Petersen
Browse files

scsi: qla2xxx: Change ha->wq max_active value to default



Update ha->wq max_active from 1 to default. MQ interrupts are queued up
via this work queue. This allows interrupts to be process in parrallel,
instead of serialized by the work queue.

Signed-off-by: default avatarQuinn Tran <quinn.tran@cavium.com>
Signed-off-by: default avatarHimanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent dc62c3be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3170,7 +3170,7 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
	if (ha->mqenable) {
		bool mq = false;
		bool startit = false;
		ha->wq = alloc_workqueue("qla2xxx_wq", WQ_MEM_RECLAIM, 1);
		ha->wq = alloc_workqueue("qla2xxx_wq", WQ_MEM_RECLAIM, 0);

		if (QLA_TGT_MODE_ENABLED()) {
			mq = true;