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" <as...@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 > _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"