[Bug 257273] PCI-e passthrough MSI-X not working for iwlwifi

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 19 Jul 2021 11:15:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257273

            Bug ID: 257273
           Summary: PCI-e passthrough MSI-X not working for iwlwifi
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bhyve
          Assignee: virtualization@FreeBSD.org
          Reporter: bz@FreeBSD.org

Hi,

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.