Date: Sat, 19 Oct 2013 20:02:51 +0330 From: h bagade <bagadeh@gmail.com> To: Raimundo Santos <raitech@gmail.com> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: Netmap and in-kernel IPFW interactions! Message-ID: <CAARSjE0DN=OsH6m8ufujA5A-8Kuh34bHQD%2BsVVu-SJ0skz2YiQ@mail.gmail.com> In-Reply-To: <CAGQ6iC_WAxuB%2BHgy4H1r6cgN0kxFRf=Zb%2BT5UAZTKnnKD%2BxVqA@mail.gmail.com> References: <CAARSjE3xe6uzYDA_scB8LT8jozUZ0%2B_SM5v1VwGt9RhxG_NEKQ@mail.gmail.com> <CAGQ6iC_WAxuB%2BHgy4H1r6cgN0kxFRf=Zb%2BT5UAZTKnnKD%2BxVqA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 19, 2013 at 6:58 PM, Raimundo Santos <raitech@gmail.com> wrote: > On 19 October 2013 06:00, h bagade <bagadeh@gmail.com> wrote: > > > Hi Everybody, > > > > > Hello! > > > > I have compiled my kernel with support of netmap without any changes on > > ipfw. Afterwards, I defined ipfw rules and surprisingly they worked!! > > > > > Being netmap-ed your kernel doesn't mean you are really using it. If your > data continue to take normal paths, ie, do not touch netmap, it will be > there to the in kernel classifier take care. > > > > Before my experiment on ipfw, I'd thought because packets are reached to > > userspace directly by means of netmap, so in-kernel ipfw won't be able to > > check them in between?! > > > > > You must open the netmap device and interact with it, no more, no less. As > the OPERATION section of netmap(4) states: > > netmap clients must first open the open("/dev/netmap") > > If your NIC driver doesn't support netmap, you end up with the normal path > to frames and packets. > > > > Could anyone clarify me how in-kernel tools are able to work even after > > netmap is used? > > > > So, to clarify you, you must clarify us: how are you *using* it, actually? > > Best Regards, > Raimundo Santos > _______________________________________________ > 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" > I've changed em and igb drivers too. In this situation, I think that they are using netmap and grow-up performance is a sign of the change. I've used pkt-gen for performance checking.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAARSjE0DN=OsH6m8ufujA5A-8Kuh34bHQD%2BsVVu-SJ0skz2YiQ>