[PATCH 2/2] nvme: switch to use pci_alloc_irq_vectors

Keith Busch keith.busch at intel.com
Tue May 10 08:27:09 PDT 2016


On Thu, May 05, 2016 at 04:04:56PM +0200, Christoph Hellwig wrote:
> -static void nvme_set_irq_hints(struct nvme_dev *dev)
> -{
> -	struct nvme_queue *nvmeq;
> -	int i;
> -
> -	for (i = 0; i < dev->online_queues; i++) {
> -		nvmeq = dev->queues[i];
> -
> -		if (!nvmeq->tags || !(*nvmeq->tags))
> -			continue;
> -
> -		irq_set_affinity_hint(dev->entry[nvmeq->cq_vector].vector,
> -					blk_mq_tags_cpumask(*nvmeq->tags));
> -	}
> -}

The above doesn't merge with linux-block/for-next since the scanning was
moved to core. If this is going through linux-pci, then it merges fine,
but someone will have to fix this later.

Otherwise, looks good.

Acked-by: Keith Busch <keith.busch at intel.com>



More information about the Linux-nvme mailing list