CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2019/08/06 04:15:27

Modified files:
        sys/dev/pci    : if_vmx.c if_vmxreg.h 

Log message:
have a go at using msi interrupts.

vmx has an interesting feature where config in the hypervisor can
say what type of interrupts the guest should configure for the nic,
with the options of auto, msix, msi, and intx. depending on this,
the driver should try to map the type specified and fall back from
there.

also interesting is that my guest gets "auto" from the hypervisor,
which i fall through to msi with, but an msi interrupt cannot be
mapped. i cannot see any msi interrupts in this guest actually.
there must be something funky at the platform level that we don't
like, and that prevents msi from being mapped.

if msi does get mapped, we should be able to avoid a register read
on every interrupt. that should probably provide a noticable
performance improvement if we can ever take advantage of it.

Reply via email to