Return the number of devices msi-x table entries
int pci_msix_vec_count(struct pci_dev * dev);
dev
pointer to the pci_dev data structure of MSI-X device function This function returns the number of device's MSI-X table entries and therefore the number of MSI-X vectors device is capable of sending. It returns a negative errno if the device is not capable of sending MSI-X interrupts.