Date: Tue, 22 Oct 2013 10:29:36 +0330 From: h bagade <bagadeh@gmail.com> To: Ivan Voras <ivoras@freebsd.org> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: Netmap and in-kernel IPFW interactions! Message-ID: <CAARSjE1J-d5WF3wq2_xVGCcwU3JcPQ=3A4vSFksbm1YU=Kr%2BpQ@mail.gmail.com> In-Reply-To: <l435cj$c6u$1@ger.gmane.org> References: <CAARSjE3xe6uzYDA_scB8LT8jozUZ0%2B_SM5v1VwGt9RhxG_NEKQ@mail.gmail.com> <CAGQ6iC_WAxuB%2BHgy4H1r6cgN0kxFRf=Zb%2BT5UAZTKnnKD%2BxVqA@mail.gmail.com> <CAARSjE0DN=OsH6m8ufujA5A-8Kuh34bHQD%2BsVVu-SJ0skz2YiQ@mail.gmail.com> <CA%2BhQ2%2BjMc8FFbuqXU2PETsfLjoP4MeWS2ymG6eOnB_8wpf%2BOnQ@mail.gmail.com> <CAARSjE1zGeuf4tY7a6P62A56U_rCYAbCJYGPJw1AYn3ENC9z%2Bw@mail.gmail.com> <l435cj$c6u$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 21, 2013 at 3:36 PM, Ivan Voras <ivoras@freebsd.org> wrote: > On 20/10/2013 09:38, h bagade wrote: > > > I am somehow confused how it is possible that netmap-aware tools use > netmap > > datapath and others still use the regular driver! Isn't that the changed > > NIC driver either send the packets to userspace(in case of netmap) or to > > the kernel(as usual)? > > I think you are misunderstanding what netmap does. It is not a type of a > "driver", it has almost nothing to do with the way regular network > packets are processed in the kernel. It is an API which allow specially > created userspace program to send and receive raw packeges to/from the > network card, bypassing the normal TCP/IP processing. It does not do > anything other that that (e.g. it doesn't magically speed up network > traffic with regular programs, etc.). > > Thank you very much Ivan. Your explanation clarifies me and I find that I had a wrong expectation from netmap.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAARSjE1J-d5WF3wq2_xVGCcwU3JcPQ=3A4vSFksbm1YU=Kr%2BpQ>