Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
3b539b89
Commit
3b539b89
authored
Nov 23, 2020
by
Antoine Kaufmann
Browse files
proto: add support for MSI-X
parent
bdffddc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
proto/cosim_pcie_proto.h
proto/cosim_pcie_proto.h
+14
-0
No files found.
proto/cosim_pcie_proto.h
View file @
3b539b89
...
@@ -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
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment