nice stuff from cloudflare (and, we need something like ethtool!)

Eric Joyner ricera10 at gmail.com
Fri Oct 23 18:11:54 UTC 2015


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 at gmail.com>
wrote:

> On Fri, Oct 16, 2015 at 1:25 PM, Jim Thompson <jim at netgate.com> wrote:
> >
> >
> >
> >> On Oct 16, 2015, at 12:06 AM, Ian Smith <smithi at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>


More information about the freebsd-net mailing list