bhyve dual port NIC - bhyve passthru only one port to vm

Hei,
I've been recently playing around with bhyve passthru and wonder if I could passthru a single port of a dual port NIC to a vm.
From a logical point of view I guess that should work, since both ports should get their specific pci bus/port assigned. Otherwise, I'm unsure if such dual port NICs are served by a single controller or one controller for each port or if that even matters (when the driver attaches/not attaches to the passthru'ed port).

Has anyone done this before?
I would otherwise grab one cheapo dual port NIC of ebay and try.

Background information, not relevant to answer above question:
The reason is, that I already run on a 10gbe network between my FreeBSD workstation and server and I'm trying to downsize.
I have way to much computers and switches and would like to virtualize as much as possible. A single computer serving as Bhyve host,
fileserver and workstation would be fun. The dual port Mellanox 10gbe copper are easy to get of ebay and they would be a good fit for the job.
 
Back
Top