Commit 3b539b89 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

proto: add support for MSI-X

parent bdffddc2
...@@ -66,8 +66,22 @@ struct cosim_pcie_proto_dev_intro { ...@@ -66,8 +66,22 @@ struct cosim_pcie_proto_dev_intro {
uint8_t pci_subclass; uint8_t pci_subclass;
/* PCI revision */ /* PCI revision */
uint8_t pci_revision; uint8_t pci_revision;
/* PCI number of MSI vectors */ /* PCI number of MSI vectors */
uint8_t pci_msi_nvecs; uint8_t pci_msi_nvecs;
/* PCI number of MSI-X vectors */
uint16_t pci_msix_nvecs;
/* BAR number for MSI-X table */
uint8_t pci_msix_table_bar;
/* BAR number for MSI-X PBA */
uint8_t pci_msix_pba_bar;
/* Offset for MSI-X table */
uint32_t pci_msix_table_offset;
/* Offset for MSI-X PBA */
uint32_t pci_msix_pba_offset;
/* MSI-X capability offset */
uint16_t psi_msix_cap_offset;
} __attribute__((packed)); } __attribute__((packed));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment