Date: Mon, 8 Sep 2014 09:54:36 -0600 From: David <dajose22@gmail.com> To: Luigi Rizzo <rizzo@iet.unipi.it> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: help porting netmap to new driver Message-ID: <CAHYV_8xKjS_MorYytPT_NRpYc-K5QVZa31R729GFMd3eUNsUDg@mail.gmail.com> In-Reply-To: <CA%2BhQ2%2Bi7ku0bmZqs2yBLH=4orFtoKzwTYwA8EPPPiyLLpr681Q@mail.gmail.com> References: <CAHYV_8w-xtPakGOuOhiLMKOkGZ8PFVAgtBu6F2hkNPQN5VP9Qw@mail.gmail.com> <CA%2BhQ2%2Bi7ku0bmZqs2yBLH=4orFtoKzwTYwA8EPPPiyLLpr681Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 =3D 894c4000 [ 57.612420] [f143ca04] *pgd=3D00000000 [ 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@iet.unipi.it>: > > > > On Wed, Aug 27, 2014 at 3:18 PM, David <dajose22@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. >> >> > =E2=80=8Bsometimes (often, actually) the hw has bottlenecks that make nat= ive > netmap mode almost useless. > =E2=80=8BOne thing you could try is the "emulated netmap mode" which > is used by default=E2=80=8B 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=C3=ADaz Barquero >> >> Ingenier=C3=ADa en Computadores >> Tecnol=C3=B3gico de Costa Rica >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > > > -- > -----------------------------------------+------------------------------- > Prof. Luigi RIZZO, rizzo@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) > -----------------------------------------+------------------------------- > --=20 David D=C3=ADaz Barquero Ingenier=C3=ADa en Computadores Tecnol=C3=B3gico de Costa Rica
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHYV_8xKjS_MorYytPT_NRpYc-K5QVZa31R729GFMd3eUNsUDg>