Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1517260

Re: [RFC PATCH] pci: add pci_irq_get_affinity_vector()

From Christoph Hellwig <hch@lst.de>
Newsgroups linux.kernel
Subject Re: [RFC PATCH] pci: add pci_irq_get_affinity_vector()
Date 2016-11-08 16:00 +0100
Message-ID <sBg2u-2e5-41@gated-at.bofh.it> (permalink)
References <sB9km-6qe-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Nov 08, 2016 at 08:47:21AM +0100, Hannes Reinecke wrote:
> Add a reverse-mapping function to return the interrupt vector for
> any CPU if interrupt affinity is enabled.

What's the use case of it?

Also as-is this won't work due to the non-affinity vectors that
have the affinity set to all cpus.  It will get even worse if we have
to support things like virtio_net that have multiple interrupts per
CPU due to the send and receive virtqueues.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH] pci: add pci_irq_get_affinity_vector() Hannes Reinecke <hare@suse.de> - 2016-11-08 08:50 +0100
  Re: [RFC PATCH] pci: add pci_irq_get_affinity_vector() Christoph Hellwig <hch@lst.de> - 2016-11-08 16:00 +0100
    Re: [RFC PATCH] pci: add pci_irq_get_affinity_vector() Hannes Reinecke <hare@suse.de> - 2016-11-08 16:10 +0100
      Re: [RFC PATCH] pci: add pci_irq_get_affinity_vector() Christoph Hellwig <hch@lst.de> - 2016-11-08 16:20 +0100
        Re: [RFC PATCH] pci: add pci_irq_get_affinity_vector() Christoph Hellwig <hch@lst.de> - 2016-11-08 16:30 +0100
        Re: [RFC PATCH] pci: add pci_irq_get_affinity_vector() Hannes Reinecke <hare@suse.de> - 2016-11-08 16:30 +0100
  Re: [RFC PATCH] pci: add pci_irq_get_affinity_vector() Thomas Gleixner <tglx@linutronix.de> - 2016-11-08 16:00 +0100

csiph-web