]> git.baikalelectronics.ru Git - kernel.git/commit
vfio-pci: Use cached MSI/MSI-X capabilities
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 18 Apr 2013 21:12:58 +0000 (15:12 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 24 Apr 2013 17:35:56 +0000 (11:35 -0600)
commita160610501e0eb4fcef514dcea49f72c4b5384d8
tree25a9cd1957bb67b6bf4f571e3d66a8873838df52
parentea7df41943d7466819ec86fbef317f90b948b107
vfio-pci: Use cached MSI/MSI-X capabilities

We now cache the MSI/MSI-X capability offsets in the struct pci_dev,
so no need to find the capabilities again.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci.c