lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20190501095722.6902-9-michal.kalderon@marvell.com> Date: Wed, 1 May 2019 12:57:20 +0300 From: Michal Kalderon <michal.kalderon@...vell.com> To: <michal.kalderon@...vell.com>, <ariel.elior@...vell.com>, <davem@...emloft.net> CC: <jgg@...pe.ca>, <dledford@...hat.com>, <linux-rdma@...r.kernel.org>, <netdev@...r.kernel.org>, <linux-scsi@...r.kernel.org>, Manish Rangankar <mrangankar@...vell.com> Subject: [PATCH net-next 08/10] Revert "scsi: qedi: Allocate IRQs based on msix_cnt" From: Manish Rangankar <mrangankar@...vell.com> Always request for number of irqs equals to number of queues. This reverts commit 1a291bce5eaf5374627d337157544aa6499ce34a. Signed-off-by: Manish Rangankar <mrangankar@...vell.com> Signed-off-by: Ariel Elior <ariel.elior@...vell.com> Signed-off-by: Michal Kalderon <michal.kalderon@...vell.com> --- drivers/scsi/qedi/qedi_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qedi/qedi_main.c b/drivers/scsi/qedi/qedi_main.c index e5db9a9954dc..f07e0814a657 100644 --- a/drivers/scsi/qedi/qedi_main.c +++ b/drivers/scsi/qedi/qedi_main.c @@ -1336,7 +1336,7 @@ static int qedi_request_msix_irq(struct qedi_ctx *qedi) int i, rc, cpu; cpu = cpumask_first(cpu_online_mask); - for (i = 0; i < qedi->int_info.msix_cnt; i++) { + for (i = 0; i < MIN_NUM_CPUS_MSIX(qedi); i++) { rc = request_irq(qedi->int_info.msix[i].vector, qedi_msix_handler, 0, "qedi", &qedi->fp_array[i]); -- 2.14.5
Powered by blists - more mailing lists