[Click] FreeBSD CURRENT - Click Compilation --with-netmap fails

Eddie Kohler ekohler at gmail.com
Fri May 25 11:47:33 EDT 2012


Right now, there is no support for in-kernel netmap, from Click or (I 
believe) from netmap itself.

Eddie


On 5/25/12 11:43 AM, Outback Dingo wrote:
> On Fri, May 25, 2012 at 11:36 AM, Eddie Kohler<ekohler at gmail.com>  wrote:
>> No. --with-netmap only affects the user-level build's options; the bsdmodule
>> build is conceptually independent, and you can have build user-level and
>> bsdmodule simultaneously.
>>
>> E
>>
>
> So --with-netmap is exclusive to userland and not functional as a kernel module
> is it that netmap is nt functiona in a kernel module? or not
> integrated well enough
> into click......
>
>>
>>
>> On 5/25/12 11:53 AM, Luigi Rizzo wrote:
>>>
>>> On Fri, May 25, 2012 at 11:30:11AM -0400, Eddie Kohler wrote:
>>>>
>>>> For what it's worth, there are people on the list working on better
>>>> bsdmodule integration, and netmap doesn't work with every driver, and
>>>> there are occasional reasons to prefer the kernel anyway; I don't see it
>>>> as cut-and-dried as Luigi does.
>>>
>>>
>>> good point, thanks for the clarification.
>>> still --enable-bsdmodule and --with-netmap should be
>>> mutually exclusive, right ?
>>>
>>> cheers
>>> luigi
>>>
>>>> Best,
>>>> Eddie
>>>>
>>>>
>>>> On 5/25/12 11:13 AM, Luigi Rizzo wrote:
>>>>>
>>>>> On Fri, May 25, 2012 at 10:39:14AM -0400, Outback Dingo wrote:
>>>>>>
>>>>>> On Fri, May 25, 2012 at 10:31 AM, Outback Dingo<outbackdingo at gmail.com>
>>>>>> wrote:
>>>>>>>
>>>>>>> On Fri, May 25, 2012 at 10:38 AM, Luigi Rizzo<rizzo at iet.unipi.it>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> On Thu, May 24, 2012 at 10:30:37PM -0400, Outback Dingo wrote:
>>>>>>>>>
>>>>>>>>> building click from git, on FreeBSD CURRENT
>>>>>>>>> ./configure --with-netmap
>>>>>>>>
>>>>>>>>
>>>>>>>> for the time being just rename the fields from *_queues to *_rings.
>>>>>>>> I was planning to send a suitable patch but have not had the time
>>>>>>>> yet.
>>>>>>>
>>>>>>>
>>>>>>> Thanks, thats worked, successfully compiled with CLANG on CURRENT
>>>>>>
>>>>>>
>>>>>> Im going to go out on a limb here and figure that ./configure
>>>>>> --enable-bsdmodule --with-netmap
>>>>>>
>>>>>> will result in a massive fail...... correct .. ??
>>>>>
>>>>>
>>>>> i think that bsdmodule refers to the in-kernel version,
>>>>> which is unsupported at best and should not be necessary
>>>>> anyways since you go much faster with netmap (either
>>>>> direct or on top of libpcap)
>>>>>
>>>>> cheers
>>>>> luigi
>>>>> _______________________________________________
>>>>> click mailing list
>>>>> click at amsterdam.lcs.mit.edu
>>>>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list