From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Thu, 12 May 2016 13:04:29 +0200 From: Christoph Hellwig To: Alexander Gordeev Cc: Christoph Hellwig , helgaas@kernel.org, pjw@netapp.com, axboe@fb.com, keith.busch@intel.com, linux-pci@vger.kernel.org, linux-nvme@lists.infradead.org Subject: Re: [PATCH 1/2] PCI: Provide sensible irq vector alloc/free routines Message-ID: <20160512110429.GA9352@lst.de> References: <1462457096-19795-1-git-send-email-hch@lst.de> <1462457096-19795-2-git-send-email-hch@lst.de> <20160512110456.GA8681@agordeev.lab.eng.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20160512110456.GA8681@agordeev.lab.eng.brq.redhat.com> List-ID: On Thu, May 12, 2016 at 01:04:58PM +0200, Alexander Gordeev wrote: > Because MSI vectors are allocated sequentially we do not really > need pdev->irqs[] for MSI. It is 32 items at most, but still. The allocator itself doesn't "need" it. Any driver that doesn't want to special case MSI vs MSI-X all through the code needs it, though. (oh, and please don't full quote the whole email, thank you!)