Re: [PATCH 11/13] nvme: switch to use pci_alloc_irq_vectors

2016-09-26 Thread Christoph Hellwig
On Fri, Sep 23, 2016 at 03:21:14PM -0700, Sagi Grimberg wrote: > Question: is using pci_alloc_irq_vectors() obligated for > supplying blk-mq with the device affinity mask? No, but it's very useful. We'll need equivalents for other busses that provide multipl vectors and vector spreading. > If I

Re: [PATCH 11/13] nvme: switch to use pci_alloc_irq_vectors

2016-09-23 Thread Sagi Grimberg
On 14/09/16 07:18, Christoph Hellwig wrote: Use the new helper to automatically select the right interrupt type, as well as to use the automatic interupt affinity assignment. Patch title and the change description are a little short IMO to describe what is going on here (need the blk-mq side

[PATCH 11/13] nvme: switch to use pci_alloc_irq_vectors

2016-09-14 Thread Christoph Hellwig
Use the new helper to automatically select the right interrupt type, as well as to use the automatic interupt affinity assignment. Signed-off-by: Christoph Hellwig --- drivers/nvme/host/pci.c | 107 1 file changed, 36 insertions(+), 71 deletions(-