lkml.org 
[lkml]   [2016]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectpci: automatic interrupt affinity for MSI/MSI-X capable devices V2
Date
This series adds a new set of functions that transparently use the right
type of interrupt (MSI-X, MSI, legacy interrupt line) for a PCI device,
and if multiple vectors are supported automatically spreads the irq
routing to different CPUs. This will allow the block layer (and hopefully
other consumers in the future) to use this information for mapping
queues to fit the interrupt affinity.

For the last patche to work you need to merge the irq/for-block branch of

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

first.

There also is a git tree available at:

git://git.infradead.org/users/hch/block.git pci-irq-spreading

Gitweb:

http://git.infradead.org/users/hch/block.git/shortlog/refs/heads/pci-irq-spreading

Changes since V1
- change return values for the minmum vector check
- improve the documentation

Changes since automatic interrupt affinity for MSI/MSI-X capable devices V3:
- add PCI_IRQ_NOLEGACY flag
- various error code fixes
- reuse the pci_enable_msi(x)_range code instead of duplicating it
- don't allocate msix_entry structures for the MSI-X case

\
 
 \ /
  Last update: 2016-07-12 12:01    [W:0.162 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site