virtio_net / netmap RX dropping frames

Vincenzo Maffione v.maffione at gmail.com
Thu Oct 26 17:26:11 UTC 2017


You can have how many threads and processes you want. The constraint is
that there must not be two threads accessing the same ring at the same
time. In this case each pktgen is accessing different rings.

Il 26 ott 2017 7:01 PM, "Joe Buehler" <aspam at cox.net> ha scritto:

> Vincenzo Maffione wrote:
> > So you are using netmap only in the guest (and not in the host).
> > And you are running a sender and a receiver inside the VM, both on the
> > VM interface.
> > Something like this
> >
> > # pkt-gen -i eth1 -f rx
> > # pkt-gen -i eth1 -f tx
>
> Yes that's the basic idea.
>
> >
> > ?
> > What happens if you use pkt-gen rather than your application?
>
> I was under the impression that I can't have two threads in the netmap
> kernel code at the same time so can't do that.
>
> Joe Buehler
>


More information about the freebsd-net mailing list