Re: [PATCH v2 4/5] qla2xxx: Add Block Multi Queue functionality.

2016-12-02 Thread Madhani, Himanshu
On 12/1/16, 2:25 AM, "Christoph Hellwig" wrote: >> -pci_disable_msix(ha->pdev); >> +pci_free_irq_vectors(ha->pdev); > >Please make the switch to pci_alloc_irq_vectors / pci_free_irq_vectors >a se[arate patch. Ack. We’ll split up patch. > >> +ret = pci_alloc_irq_vectors(ha->pdev,

Re: [PATCH v2 4/5] qla2xxx: Add Block Multi Queue functionality.

2016-12-01 Thread Christoph Hellwig
> - pci_disable_msix(ha->pdev); > + pci_free_irq_vectors(ha->pdev); Please make the switch to pci_alloc_irq_vectors / pci_free_irq_vectors a se[arate patch. > + ret = pci_alloc_irq_vectors(ha->pdev, > + MIN_MSIX_COUNT, ha->msix_count, PCI_IRQ_MSIX); And for proper blk-mq

[PATCH v2 4/5] qla2xxx: Add Block Multi Queue functionality.

2016-11-30 Thread Himanshu Madhani
From: Sawan Chandak Tell the SCSI layer how many hardware queues we have based on the number of max queue pairs created. The number of max queue pairs created will depend on number of MSI X vector count or number of CPU's in a system. This feature can be turned on via CONFIG_SCSI_MQ_DEFAULT or p