Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Nov 2011 03:49:49 +0800
From:      Archy Cho <archycho@gmail.com>
To:        freebsd-current@freebsd.org, rizzo@iet.unipi.it
Subject:   Fwd: Netmap for routers (em0 device)
Message-ID:  <CA%2BYO1LEoQ7OKX_R6zpTg20RkA9F9Vcw6rXUURg5ATryhq-p_OQ@mail.gmail.com>
In-Reply-To: <CA%2BYO1LH2%2BEEx6Yq2Rpm3UB0sXxF3=5gUEXpRyypLcJR7nJiCRw@mail.gmail.com>
References:  <CA%2BYO1LE1995YDuy442jgEeX8ZV2bAf3zRBkVr=Rqw=8DgT=x5Q@mail.gmail.com> <CAFOYbcnCxdK0-UV80gwZEpkoRKxTOj0hD9115r3cvGWS-Cwqvg@mail.gmail.com> <CA%2BYO1LH2%2BEEx6Yq2Rpm3UB0sXxF3=5gUEXpRyypLcJR7nJiCRw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
---------- Forwarded message ----------
From: Archy Cho <archycho@gmail.com>
Date: 2011/11/5
Subject: Re: Netmap for routers (em0 device)
To: Jack Vogel <jfvogel@gmail.com>


undefined 'j' appears on FreeBSD 8.2 release ( both i386 and amd64 tested
),
I could compile netmap to a 9.0-RC-1 box with disabling re/bge.

2011/11/5 Jack Vogel <jfvogel@gmail.com>

> What version of the code is this, em certainly compiles in 8.2, and if you
> mean
> the code from HEAD or 9.0 I also don't see an undefined 'j'??
>
> Jack
>
>
> On Fri, Nov 4, 2011 at 9:06 AM, Archy Cho <archycho@gmail.com> wrote:
>
>> Hello
>>
>> I am very happy to see freebsd could have such network performance with
>> netmap ,
>> since I am currently using freebsd as core routers instead of cisco.
>>
>> I tried to re-compile the freebsd 8.2 kernel to test ,
>> however , I could not complete the task ( both i386 and amd64 ),
>> I could only success at 9.0-RC-1.
>>
>> Here is my task and error message,
>>
>> cp /usr/src/sys/i386/conf/GENERIC /usr/src/sys/i386/conf/Netmap-Router
>> echo "device netmap" >> /usr/src/sys/i386/conf/Netmap-Router
>> cd /tmp/netmap/sys/
>> cp -R * /usr/src/sys/
>> cd /usr/src/
>> patch -p < /tmp/netmap/head-netmap.diff
>> echo "WITHOUT_MODULES = bge re igb" >> /etc/make.conf
>> make buildkernel KERNCONF=Netmap-Router
>> make installkernel KERNCONF=Netmap-Router
>>
>> -Werror  ../../../dev/e1000/if_em.c -I../../../dev/e1000
>> ../../../dev/e1000/if_em.c: In function 'em_setup_receive_ring':
>> ../../../dev/e1000/if_em.c:4012: error: 'j' undeclared (first use in this
>> function)
>> ../../../dev/e1000/if_em.c:4012: error: (Each undeclared identifier is
>> reported only once
>> ../../../dev/e1000/if_em.c:4012: error: for each function it appears in.)
>> *** Error code 1
>>
>> Stop in /usr/src/sys/i386/compile/Netmap-Router
>>
>>
>> Any hint of error message ?
>>
>> More questions ,
>> I seldom facing DDOS , whatever using polling or not ,
>> 1Gbps link with 64bytes packet will cause CPU 100% ,
>> if a freebsd box compile with netmap ,
>> could it have performance boost of routed / ipfw / pf ?
>> _______________________________________________
>> freebsd-current@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org
>> "
>>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BYO1LEoQ7OKX_R6zpTg20RkA9F9Vcw6rXUURg5ATryhq-p_OQ>