commit | 57fbf52c86addd8e25d1975fac0d59d982d1f6ec | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Thu May 07 11:28:41 2009 +0300 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Thu Jun 11 12:04:18 2009 -0700 |
tree | ce8c13b78e34c287ed9cdf3062dad38f64572b9e | |
parent | 8e822df700694ca6850d1e0c122fd7004b2778d8 [diff] |
PCI MSI: let drivers retry when not enough vectors pci_enable_msix currently returns -EINVAL if you ask for more vectors than supported by the device, which would typically cause fallback to regular interrupts. It's better to return the table size, making the driver retry MSI-X with less vectors. Reviewed-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>