Regarding Netmap in VM

Jack Vogel jfvogel at
Tue May 27 03:00:01 UTC 2014

I don't think we've ever tried this at Intel either. I had meant to check
the ixv code to
see if it had your code in it Luigi but got distracted, if it doesn't then
it obviously can't
work for the case of a VM.

I think with the new 40G VF driver, when that gets committed it might be
desirable to
have netmap support.

And, although we don't have SRIOV yet... that should be changing before
long :)


On Mon, May 26, 2014 at 10:06 AM, Luigi Rizzo <rizzo at> wrote:

> On Thu, May 22, 2014 at 09:28:45AM +0530, Prashant Upadhyaya wrote:
> > Hi,
> >
> > Suppose I am on x86 with Intel 82599 NIC.
> > Now I spawn a VM (running FreeBSD as guest OS with Netmap support)
> > For better I/O performance, I have two main choices --
> >
> > 1. Pass the 82599 NIC as a PCI passthrough device into the VM
> > 2. Use SRIOV VF of 82599 into the VM
> >
> > Question is, will Netmap be able to utilize both the above environments
> > when I run the userspace application in the guest OS in the VM, or will
> > there be any issues.
> if i remember well we do not have sriov vf support yet in freebsd
> so you should follow the pci-passthrough approach.
> It should probably work, i am not 100% sure who is in charge of
> programming the IOMMU for the guest os when accessing a device
> through pci passthrough. If this part is missing, the symptoms
> you should see is that packets will have all bytes set to 0x00
> cheers
> luigi
> _______________________________________________
> freebsd-net at mailing list
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at"

More information about the freebsd-net mailing list