When I tried to passthru simple CompactPCI (basically PCI) cards with PLX9030 and PLX9050 chip, having:
Here is detail of one such card with PLX9050 chip:
NOTE: Card has no interrupts so absence of MSI(-X) should be fine.
My `vm-bhyve` config contains:
- memory mapped BARs only
- no interrupts (and thus no MSI(-X) support)
- it does not allow MM BARs with size that is not multiple of page size (4096 bytes)
- it does not allow read/write access to MM BARs at all (!) - only I/O BARs are implemented
- it does not allow card that has NO interrupts (so absence of MSI/MSI-X is not a problem)
- allow MM BARs of any size (removed constraint to allow page size multiple only)
- allow read and write to MM BAR (even when it is slow - because I don't map it to memory)
- allow using card that has no MSI/MSI-X (because our cards have no interrupts at all)
Here is detail of one such card with PLX9050 chip:
Bash:
$ pciconf -lb ppt1@pci0:6:14:0
ppt1@pci0:6:14:0: class=0xff0000 rev=0x02 hdr=0x00 vendor=0x10b5 device=0x9050 subvendor=0x1761 subdevice=0x00a4
bar [10] = type Memory, range 32, base 0xf7c01000, size 128, disabled
bar [18] = type Memory, range 32, base 0xf7c00000, size 2048, disabled
NOTE: Card has no interrupts so absence of MSI(-X) should be fine.
My `vm-bhyve` config contains:
Bash:
# passthru cards
passthru0="6/10/0=11:0"
passthru1="6/14/0=12:0"
wired_memory="yes"
debug="yes"