Date: Sat, 23 Jan 2016 22:07:06 -0800 From: Navdeep Parhar <nparhar@gmail.com> To: Adrian Chadd <adrian@freebsd.org> Cc: Marcus Cenzatti <cenzatti@hush.com>, Luigi Rizzo <rizzo@iet.unipi.it>, FreeBSD Net <freebsd-net@freebsd.org> Subject: Re: solved: Re: Chelsio T520-SO-CR low performance (netmap tested) for RX Message-ID: <20160124060706.GA7567@ox> In-Reply-To: <CAJ-VmokuRj%2Bs9_o2uTYnXQuEXmPy4MBrNoiHFN5=kjFDW-eQCw@mail.gmail.com> References: <CA%2BhQ2%2Bg7_haaXLFjMuG00ANsUkFdyGzFQyjT4NYVBmPY-vECBg@mail.gmail.com> <CAJ-Vmo=ScLDOEgebffdnFwTDod6q6UngcxChX6TxwVK_MN%2BbjQ@mail.gmail.com> <20160124035300.3E533A0126@smtp.hushmail.com> <CAJ-Vmon=6ZH8f4_W4rT0F7=FqCKwte66VhQKaNPKKU-7h29uyQ@mail.gmail.com> <20160124043050.A4936A0126@smtp.hushmail.com> <CAJ-VmokuRj%2Bs9_o2uTYnXQuEXmPy4MBrNoiHFN5=kjFDW-eQCw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 23, 2016 at 08:38:24PM -0800, Adrian Chadd wrote: > ok, that's a discussion to have with navdeep. That /should/ work. > Someone may have changed it lately. Yes this used to work. > > Things should behave very well and predictable once you can disable > cxl0 but not ncxl0. :-P The plan is to clean all this up by moving the netmap specific parts to a driver module of its own. So when you load if_cxgbe you'll get only the cxl interfaces. If you want netmap access to the ports you'll be able to kldload cxgbe_netmap (or something like that) which will create the ncxl ports. These ncxl ports _will_ operate like normal ifnets hooked to the kernel stack if netmap isn't enabled on them. And the cxgbe_netmap driver will attach to PCIe PFs 0-3 so it won't take up resources (interrupt vectors, etc.) from PF4, which is what the main if_cxgbe attaches to. You'll certainly be able to up/down/whatever all the interfaces independent of each other. All this will get done in time for FreeBSD 11. Regards, Navdeep
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160124060706.GA7567>