I am in the process of designing an experiment in which we have multiple VLANs arriving at a single NIC, with each VLAN being associated to a single VM.
The straightforward way to do this would be to set up tagged interfaces with vconfig and associate these interfaces with each of the VMs. I am somewhat worried about the impact this might have on performance (CPU utilization and latency), because I am not sure how the packets are rerouted to the specific virtual interfaces in the virtual hosts. Is there a way to do the same using the IOMMU, assuming that would enable direct access by applications in the VMs?