File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -3015,14 +3015,17 @@ qla24xx_enable_msix(struct qla_hw_data *ha, struct rsp_que *rsp)
30153015 int i , ret ;
30163016 struct qla_msix_entry * qentry ;
30173017 scsi_qla_host_t * vha = pci_get_drvdata (ha -> pdev );
3018+ int min_vecs = QLA_BASE_VECTORS ;
30183019 struct irq_affinity desc = {
30193020 .pre_vectors = QLA_BASE_VECTORS ,
30203021 };
30213022
3022- if (QLA_TGT_MODE_ENABLED () && IS_ATIO_MSIX_CAPABLE (ha ))
3023+ if (QLA_TGT_MODE_ENABLED () && IS_ATIO_MSIX_CAPABLE (ha )) {
30233024 desc .pre_vectors ++ ;
3025+ min_vecs ++ ;
3026+ }
30243027
3025- ret = pci_alloc_irq_vectors_affinity (ha -> pdev , QLA_BASE_VECTORS ,
3028+ ret = pci_alloc_irq_vectors_affinity (ha -> pdev , min_vecs ,
30263029 ha -> msix_count , PCI_IRQ_MSIX | PCI_IRQ_AFFINITY ,
30273030 & desc );
30283031
You can’t perform that action at this time.
0 commit comments