commit | 3321eafd2a79f15126ebaa82f1b5d7fce89c02cb | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Fri Oct 20 08:48:06 2017 -0500 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Fri Oct 20 11:08:28 2017 -0500 |
tree | e2072b7a5cc10eb2e61a086d53f7866175fee558 | |
parent | b8acfd7c0f88c49dc0089cd40e02040187160f6a [diff] |
PCI/portdrv: Factor out Interrupt Message Number lookup Factor out Interrupt Message Number lookup from the MSI/MSI-X interrupt setup. One side effect is that we only have to check once to see if we have enough vectors for all the services. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Christoph Hellwig <hch@lst.de>