Date: Fri, 23 Oct 2015 18:11:43 +0000 From: Eric Joyner <ricera10@gmail.com> To: Sepherosa Ziehau <sepherosa@gmail.com>, Jim Thompson <jim@netgate.com> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Ian Smith <smithi@nimnet.asn.au> Subject: Re: nice stuff from cloudflare (and, we need something like ethtool!) Message-ID: <CA%2Bb0zg8fy05N%2BQR4Cnup_8iRd5-Pfm26zPFEa8dcBzxLYwigrQ@mail.gmail.com> In-Reply-To: <CAMOc5cxHPs%2BPgS%2BzonjrfE%2BuCTgSafpC_j1sFP9k_CjGpE9=pw@mail.gmail.com> References: <CA%2BhQ2%2BhFHeS_%2BCLS6Y7XSVUPQjppd6pPmgPHWy8fw%2BA5hK%2BMRQ@mail.gmail.com> <561F6BFB.7080103@freebsd.org> <20151016154512.T15983@sola.nimnet.asn.au> <D6A89176-A6D0-4215-B434-16D2482184BA@netgate.com> <CAMOc5cxHPs%2BPgS%2BzonjrfE%2BuCTgSafpC_j1sFP9k_CjGpE9=pw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Bump -- I'd be okay with adding hooks to at least one Intel ethernet driver for whatever comes out of this. On Mon, Oct 19, 2015 at 1:47 AM Sepherosa Ziehau <sepherosa@gmail.com> wrote: > On Fri, Oct 16, 2015 at 1:25 PM, Jim Thompson <jim@netgate.com> wrote: > > > > > > > >> On Oct 16, 2015, at 12:06 AM, Ian Smith <smithi@nimnet.asn.au> wrote: > >> > >>> On Thu, 15 Oct 2015 17:03:55 +0800, Julian Elischer wrote: > >>>> On 10/10/15 10:59 PM, Luigi Rizzo wrote: > >>>> the nice folks at cloudflare implemented a nice feature > >>>> in netmap that puts some queues of the NIC in netmap mode > >>>> leaving others attached to the host stack > >>>> > >>>> > https://blog.cloudflare.com/single-rx-queue-kernel-bypass-with-netmap/ > >>>> > >>>> and use ethtool (and native NIC filters) to steer traffic around. > >>>> [FWIW, the chelsio native netmap driver is similar except that > >>>> the netmap queue has a different MAC address] > >>>> > >>>> While their code was developed on linux, it should run > >>>> almost unmodified on FreeBSD (and we plan to import it soon), > >>>> except for the fact that we don't have ethtool hence no > >>>> device-independent mechanism to configure traffic steering. > >>>> > >>>> We really need to address the latter. > >>> > >>> I suspect the answer may be a device dependent sysctl > >> > >> Interesting; care to flesh out your ideas a bit on how that might work? > >> > >> I've done nothing more than skim ethtool(8) on linuxcommand.org, and > >> wondered why its functionality wasn't incorporated into ifconfig, but > >> then ifconfig (on FreeBSD anyway) is tending towards obesity already > > > > Luigi already did netlink sockets for FreeBSD. > > > > https://github.com/luigirizzo/netlink-freebsd > > ha, the netlink for BSD, interesting :) > > -- > Tomorrow Will Never Die > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bb0zg8fy05N%2BQR4Cnup_8iRd5-Pfm26zPFEa8dcBzxLYwigrQ>