help porting netmap to new driver
David
dajose22 at gmail.com
Thu Sep 11 18:17:53 UTC 2014
I was able to work this around. The problem was in the driver.
Now I start working on customizing the driver to use netmap optimized
regards
2014-09-08 9:54 GMT-06:00 David <dajose22 at gmail.com>:
> Hi
>
> Sorry for the late response, I'll be using an ARM processor for a 1G link.
>
> My first issue came when doing what you suggested, and try the "emulated
> netmap mode". I need to cross compile the code from my x86, which I think I
> did correctly by setting up my arm toolchain and passing the kernel source
> when doing the "make".
>
> Now when I run the pkt-gen example I get :
>
> [ 57.602575] Unable to handle kernel paging request at virtual address
> f143ca04
> [ 57.609740] pgd = 894c4000
> [ 57.612420] [f143ca04] *pgd=00000000
> [ 57.615973] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
>
> Where I'm stuck since a while ago trying to figure it out.
>
> regards
>
> 2014-08-27 16:23 GMT-06:00 Luigi Rizzo <rizzo at iet.unipi.it>:
>
>
>>
>>
>> On Wed, Aug 27, 2014 at 3:18 PM, David <dajose22 at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I'm needing to use netmap on a custom driver, I don't understand the
>>> content of the functions I need to implement and that are detailed on
>>> "PORTING" file.
>>>
>>>
>> sometimes (often, actually) the hw has bottlenecks that make native
>> netmap mode almost useless.
>> One thing you could try is the "emulated netmap mode" which
>> is used by default if the driver has no native support.
>> This is in the code on code.google.com/p/netmap/ ,
>> the branch "next" (which is basically the code now in FreeBSD)
>> has some fixes for that specific feature
>>
>> cheers
>> luigi
>>
>>
>> can someone give a hand to understand it better?
>>>
>>> regards
>>>
>>> --
>>> David Díaz Barquero
>>>
>>> Ingeniería en Computadores
>>> Tecnológico de Costa Rica
>>> _______________________________________________
>>> freebsd-net at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>>
>>
>>
>>
>> --
>> -----------------------------------------+-------------------------------
>> Prof. Luigi RIZZO, rizzo at iet.unipi.it . Dip. di Ing. dell'Informazione
>> http://www.iet.unipi.it/~luigi/ . Universita` di Pisa
>> TEL +39-050-2211611 . via Diotisalvi 2
>> Mobile +39-338-6809875 . 56122 PISA (Italy)
>> -----------------------------------------+-------------------------------
>>
>
>
>
> --
> David Díaz Barquero
>
> Ingeniería en Computadores
> Tecnológico de Costa Rica
>
--
David Díaz Barquero
Ingeniería en Computadores
Tecnológico de Costa Rica
More information about the freebsd-net
mailing list