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

From: Slawa Olhovchenkov <slw_at_zxy.spb.ru>
Date: Tue, 23 Feb 2016 02:55:02 +0300
On Mon, Feb 22, 2016 at 02:40:15PM -0800, Luigi Rizzo wrote:

> On Mon, Feb 22, 2016 at 10:16 AM, Slawa Olhovchenkov <slw_at_zxy.spb.ru> 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 error generated.
> >
> > ok, give ctrs.h from netmap/examples/
> >
> > # cc -o lb lb.c
> > In file included from lb.c:18:
> > ./lb.h:2:23: error: use of undeclared identifier 'ETH_ALEN'
> >         unsigned char h_dest[ETH_ALEN];
> >                              ^
> > ./lb.h:3:25: error: use of undeclared identifier 'ETH_ALEN'
> >         unsigned char h_source[ETH_ALEN];
> >                                ^
> > 2 errors generated.
> 
> please try now.

compiled, ok.
and i need wrote some apps for forwarding from pipes to output
interface?

PS: sorry for mislead, 6.5Mpps for me for next flow:

physical => rehasher_rhasher => output
              v        ^
	      dummy workers

i.e. 6.5Mpss input traffic, rehasher passthrough every packet twice.
Received on Mon Feb 22 2016 - 22:55:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:03 UTC