Re: use PCI layer IRQ affinity in lpfc

2017-01-08 Thread Christoph Hellwig
On Mon, Nov 21, 2016 at 03:06:37PM +0100, Christoph Hellwig wrote: > On Fri, Nov 18, 2016 at 08:21:35AM -0800, James Smart wrote: > > Hi Christoph, > > > > We had already done this work in the larger lpfc patch that had been posted > > for nvme work. > > Which one is that? > > > > > I'll look

Re: use PCI layer IRQ affinity in lpfc

2016-11-21 Thread Christoph Hellwig
On Fri, Nov 18, 2016 at 08:21:35AM -0800, James Smart wrote: > Hi Christoph, > > We had already done this work in the larger lpfc patch that had been posted > for nvme work. Which one is that? > > I'll look at separating out just the irq part and post a reply. Thanks. -- To unsubscribe from

Re: use PCI layer IRQ affinity in lpfc

2016-11-18 Thread James Smart
Hi Christoph, We had already done this work in the larger lpfc patch that had been posted for nvme work. I'll look at separating out just the irq part and post a reply. -- james On 11/17/2016 7:14 AM, Christoph Hellwig wrote: This series has two patches: the first is a simple conversion

Re: use PCI layer IRQ affinity in lpfc

2016-11-18 Thread Johannes Thumshirn
On Fri, Nov 18, 2016 at 05:22:11AM -0800, Christoph Hellwig wrote: > On Fri, Nov 18, 2016 at 02:13:12PM +0100, Johannes Thumshirn wrote: > > This is what /proc/interrupts looks like after booting from the lpfc HBA, > > with your patches: > > > > ettrick:~ # grep lpfc /proc/interrupts > > 44:

Re: use PCI layer IRQ affinity in lpfc

2016-11-18 Thread Johannes Thumshirn
On Fri, Nov 18, 2016 at 05:22:11AM -0800, Christoph Hellwig wrote: > On Fri, Nov 18, 2016 at 02:13:12PM +0100, Johannes Thumshirn wrote: > > This is what /proc/interrupts looks like after booting from the lpfc HBA, > > with your patches: > > > > ettrick:~ # grep lpfc /proc/interrupts > > 44:

Re: use PCI layer IRQ affinity in lpfc

2016-11-18 Thread Hannes Reinecke
On 11/18/2016 02:13 PM, Johannes Thumshirn wrote: > Hi Christoph, > > On Thu, Nov 17, 2016 at 04:14:51PM +0100, Christoph Hellwig wrote: >> This series has two patches: the first is a simple conversion of >> lpfc to use pci_alloc_irq_vectors. The second is more interesting, >> and makes use of

Re: use PCI layer IRQ affinity in lpfc

2016-11-18 Thread Christoph Hellwig
On Fri, Nov 18, 2016 at 02:13:12PM +0100, Johannes Thumshirn wrote: > This is what /proc/interrupts looks like after booting from the lpfc HBA, > with your patches: > > ettrick:~ # grep lpfc /proc/interrupts > 44: 2056 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI 5242880-edge lpfc > 46: 2186 0 0 0

Re: use PCI layer IRQ affinity in lpfc

2016-11-18 Thread Johannes Thumshirn
Hi Christoph, On Thu, Nov 17, 2016 at 04:14:51PM +0100, Christoph Hellwig wrote: > This series has two patches: the first is a simple conversion of > lpfc to use pci_alloc_irq_vectors. The second is more interesting, > and makes use of the PCI_IRQ_AFFINITY option to use the core interrupt >

use PCI layer IRQ affinity in lpfc

2016-11-17 Thread Christoph Hellwig
This series has two patches: the first is a simple conversion of lpfc to use pci_alloc_irq_vectors. The second is more interesting, and makes use of the PCI_IRQ_AFFINITY option to use the core interrupt affinity assignment that takes nodes into account and can be easily queried. It also ensures