Re: three new netmap tools: pcap player, link emulator, load distributor

2016-02-22 Thread Luigi Rizzo
On Mon, Feb 22, 2016 at 3:55 PM, Slawa Olhovchenkov wrote: > On Mon, Feb 22, 2016 at 02:40:15PM -0800, Luigi Rizzo wrote: >> please try now. > > compiled, ok. > and i need wrote some apps for forwarding from pipes to output > interface? just use multiple pkt-gen in read mode on the outputs, and

Re: three new netmap tools: pcap player, link emulator, load distributor

2016-02-22 Thread Slawa Olhovchenkov
On Mon, Feb 22, 2016 at 02:40:15PM -0800, Luigi Rizzo wrote: > On Mon, Feb 22, 2016 at 10:16 AM, Slawa Olhovchenkov wrote: > > On Mon, Feb 22, 2016 at 08:17:06AM -0800, Luigi Rizzo wrote: > > > > >> Give this a try and let us know. > > > > I can't compile this. > > > > # cc -o lb lb.c > > lb.c:1

Re: three new netmap tools: pcap player, link emulator, load distributor

2016-02-22 Thread Luigi Rizzo
On Mon, Feb 22, 2016 at 10:16 AM, Slawa Olhovchenkov wrote: > On Mon, Feb 22, 2016 at 08:17:06AM -0800, Luigi Rizzo wrote: > >> Give this a try and let us know. > > I can't compile this. > > # cc -o lb lb.c > lb.c:17:10: fatal error: 'ctrs.h' file not found > #include "ctrs.h" > ^ > 1 er

Re: three new netmap tools: pcap player, link emulator, load distributor

2016-02-22 Thread Slawa Olhovchenkov
On Mon, Feb 22, 2016 at 08:17:06AM -0800, Luigi Rizzo wrote: > On Monday, February 22, 2016, Slawa Olhovchenkov wrote: > > > On Sun, Feb 21, 2016 at 10:18:36AM -0800, Luigi Rizzo wrote: > > > > > lb > > > a packet distributor that reads from a netmap port and distributes > > > traffic to mul

Re: three new netmap tools: pcap player, link emulator, load distributor

2016-02-22 Thread Luigi Rizzo
On Monday, February 22, 2016, Slawa Olhovchenkov wrote: > On Sun, Feb 21, 2016 at 10:18:36AM -0800, Luigi Rizzo wrote: > > > lb > > a packet distributor that reads from a netmap port and distributes > > traffic to multiple netmap ports, using ze​ro copy and a user-defined > > hash function.

Re: three new netmap tools: pcap player, link emulator, load distributor

2016-02-22 Thread Slawa Olhovchenkov
On Sun, Feb 21, 2016 at 10:18:36AM -0800, Luigi Rizzo wrote: > lb > a packet distributor that reads from a netmap port and distributes > traffic to multiple netmap ports, using ze​ro copy and a user-defined > hash function. This will be useful e.g. for people running multiple > instances o

Re: three new netmap tools: pcap player, link emulator, load distributor

2016-02-21 Thread Slawa Olhovchenkov
On Sun, Feb 21, 2016 at 10:18:36AM -0800, Luigi Rizzo wrote: > Hi, > I have put some new tools on the github's netmap page > https://github.com/luigirizzo/netmap in the apps/ directory > > All are under a BSD license. > > nmreplay > a fast pcap replay tool (a-la tcpreplay) with programmable ra

three new netmap tools: pcap player, link emulator, load distributor

2016-02-21 Thread Luigi Rizzo
Hi, I have put some new tools on the github's netmap page https://github.com/luigirizzo/netmap in the apps/ directory All are under a BSD license. nmreplay a fast pcap replay tool (a-la tcpreplay) with programmable rate. Joint work with a few of my students in Pisa. ​tlem a link emulator,