diff options
author | mav <mav@FreeBSD.org> | 2016-08-18 11:45:46 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2016-08-18 11:45:46 +0000 |
commit | 56f808ef4e23d6177ceb0bbe1fbb55e0eb19ab99 (patch) | |
tree | 0b497f434c155a6d27a760b90a638186b496ef39 /usr.sbin/bhyve/pci_emul.h | |
parent | 367161db0f404a1f43a1beca7102364a32032e7c (diff) | |
download | FreeBSD-src-56f808ef4e23d6177ceb0bbe1fbb55e0eb19ab99.zip FreeBSD-src-56f808ef4e23d6177ceb0bbe1fbb55e0eb19ab99.tar.gz |
MFC r302460: Add emulation for multiple (up to 16) MSI vectors for AHCI.
It was useless before, but may improve performance now if multiple devices
are configured and guest supports this feature.
Sponsored by: iXsystems, Inc.
Diffstat (limited to 'usr.sbin/bhyve/pci_emul.h')
-rw-r--r-- | usr.sbin/bhyve/pci_emul.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bhyve/pci_emul.h b/usr.sbin/bhyve/pci_emul.h index d74950b..0fffb19 100644 --- a/usr.sbin/bhyve/pci_emul.h +++ b/usr.sbin/bhyve/pci_emul.h @@ -230,7 +230,7 @@ int pci_msi_enabled(struct pci_devinst *pi); int pci_msix_enabled(struct pci_devinst *pi); int pci_msix_table_bar(struct pci_devinst *pi); int pci_msix_pba_bar(struct pci_devinst *pi); -int pci_msi_msgnum(struct pci_devinst *pi); +int pci_msi_maxmsgnum(struct pci_devinst *pi); int pci_parse_slot(char *opt); void pci_populate_msicap(struct msicap *cap, int msgs, int nextptr); int pci_emul_add_msixcap(struct pci_devinst *pi, int msgnum, int barnum); |