Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2014 23:50:56 +0100
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        Olivier Cochard-Labb? <olivier@cochard.me>
Cc:        "freebsd-net@freebsd.org" <net@freebsd.org>
Subject:   Re: netmap, VALE and netmap pipes
Message-ID:  <20140219225056.GC78996@onelab2.iet.unipi.it>
In-Reply-To: <CA%2Bq%2BTcqFo=us_HvPZ-e%2BS0yoKa30XATmHqaqv=FkmGk_yeFqCw@mail.gmail.com>
References:  <CA%2BhQ2%2Bgbs9aBneUaDGAnKVoPHspzc=5o%2Bh%2Bf_K=T%2BCy8sRxr%2Bw@mail.gmail.com> <CA%2Bq%2BTcqFo=us_HvPZ-e%2BS0yoKa30XATmHqaqv=FkmGk_yeFqCw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 19, 2014 at 10:14:18PM +0100, Olivier Cochard-Labb? wrote:
> On Mon, Feb 17, 2014 at 11:11 AM, Luigi Rizzo <rizzo@iet.unipi.it> wrote:
> 
> >
> >
> > https://code.google.com/p/netmap-ipfw
> >     a netmap-enabled, userspace version of the ipfw firewall and
> >     dummynet network emulator. This version reaches 7-10 Mpps for
> >     filtering and over 2.5 Mpps for emulation.
> >
> >
> > Hope you'll find it useful.
> >
> 
> Hi,
> 
> I didn't reach to compile netmap-ipfw under FreeBSD (10-stable r261209 and
> 11.0-CURRENT r262140):
> 
> fetch
> http://netmap.googlecode.com/archive/7f66866e7b735497cc0f0b81cfca94e32e81a182.zip
>  fetch
> http://netmap-ipfw.googlecode.com/archive/1430cbad0d128aebb80bbd54be970afb8fbe1c74.zip
> unzip 7f66866e7b735497cc0f0b81cfca94e32e81a182.zip
> unzip 1430cbad0d128aebb80bbd54be970afb8fbe1c74.zip
> cd netmap-ipfw-1430cbad0d12/
> gmake NETMAP_INC=../netmap-7f66866e7b73/sys
> 
> Building userspace ...
> gmake[1]: Entering directory `/root/netmap-ipfw-1430cbad0d12/ipfw'
> (cd ../objs; gmake -f ../Makefile.kipfw include_e)
> gmake[2]: Entering directory `/root/netmap-ipfw-1430cbad0d12/objs'
> Building /root/netmap-ipfw-1430cbad0d12/objs/../objs/include_e ...
> gmake[2]: Leaving directory `/root/netmap-ipfw-1430cbad0d12/objs'
>    CC ipfw2.c
>    CC dummynet.c
>    CC main.c
>    CC ipv6.c
>    CC altq.c
>    CC ../extra/glue.c
> ../extra/glue.c:181:36: error: comparison of unsigned expression < 0 is
> always false [-Werror,-Wtautological-compare]
>         if((oldlenp != NULL) && (*oldlenp < 0))

oh, clang... just remove the check for the time being,
i will fix it upstream in the meantime

thanks
luigi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140219225056.GC78996>