Revert "scsi: qedi: Allocate IRQs based on msix_cnt"
Always request for number of irqs equals to number of queues.
This reverts commit 1a291bce5e
.
Signed-off-by: Manish Rangankar <mrangankar@marvell.com>
Signed-off-by: Ariel Elior <ariel.elior@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3576e99e08
commit
13b99d3d39
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue