]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r356704
authorVincenzo Maffione <vmaffione@FreeBSD.org>
Thu, 16 Jan 2020 20:55:15 +0000 (20:55 +0000)
committerVincenzo Maffione <vmaffione@FreeBSD.org>
Thu, 16 Jan 2020 20:55:15 +0000 (20:55 +0000)
commit26a395a557b57e563ab28ddb3e22bde078754107
tree21f337b92c04cf869ba19a8fcf659db9896a028b
parent126b9405ba168d2bccea90a154ee1f7a3336e6cf
MFC r356704

netmap: disable passthrough with no hypervisor support

The netmap passthrough subsystem requires proper support in the
hypervisor. In particular, two PCI device ids (from the Red Hat
PCI vendor id 0x1b36) need to be assigned to the two netmap
virtual devices. We then disable these devices until the ids have
not been assigned, in order to avoid conflicts with other
virtual devices emulated by upstream QEMU.

PR:     241774
sys/dev/netmap/if_ptnet.c
sys/dev/netmap/netmap_kern.h
sys/net/netmap_virt.h