Bug 257273 - PCI-e passthrough MSI-X not working for iwlwifi
Summary: PCI-e passthrough MSI-X not working for iwlwifi
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bhyve (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-virtualization (Nobody)
Depends on:
Reported: 2021-07-19 11:15 UTC by Bjoern A. Zeeb
Modified: 2021-07-20 15:25 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Bjoern A. Zeeb freebsd_committer 2021-07-19 11:15:16 UTC

opening the PR to track this.

When running FreeBSD inside bhyve to test/use iwlwifi wireless (https://wiki.freebsd.org/WiFi/Iwlwifi) this does not work with the default driver using MSI-X.   It seems interrupts are not arriving.  When disabling MSI-X (by patch for tunable) and forcing it to use MSI that does work.

In addition to some tracing done as suggested by @grehan I also tried/applied D20623, D24549, and D28277 locally (one which removed some noise from tracing) but apart from that did not make any difference.

In case anyone has seen similar or has ideas what to try, please let me know.
Comment 1 Bjoern A. Zeeb freebsd_committer 2021-07-20 15:25:07 UTC
I'll close the PR again.  Was enough motivation to look into this even more and get help.

Further discussions on the issue here: