]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vmd: Bypass MSI/MSI-X remapping when possible.
authorAlexander Motin <mav@FreeBSD.org>
Thu, 6 Oct 2022 16:15:25 +0000 (12:15 -0400)
committerAlexander Motin <mav@FreeBSD.org>
Thu, 20 Oct 2022 14:22:23 +0000 (10:22 -0400)
commit5e98842589e17308b9b7f3eacf25a99a6ecddc38
tree230f639c20c8ef505b7e204f4914bebebffc9726
parent87b372fa73270025416e1ebeb33a5bfeb37cb3b2
vmd: Bypass MSI/MSI-X remapping when possible.

By default all VMD devices remap children MSI/MSI-X interrupts into their
own.  It creates additional isolation, but also complicates things due to
sharing, etc.  Fortunately some VMD devices can bypass the remapping.
Add tunable to control it for remap testing or if something go wrong.

MFC after: 2 weeks

(cherry picked from commit c28220d8661ee1928bff7d2c6bcd3e64c25f927b)
share/man/man4/vmd.4
sys/dev/vmd/vmd.c