From owner-freebsd-net@freebsd.org Fri Oct 23 18:11:54 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D3D4A1DCF9 for ; Fri, 23 Oct 2015 18:11:54 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 496CEE3C for ; Fri, 23 Oct 2015 18:11:54 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: by qkbl190 with SMTP id l190so84590353qkb.2 for ; Fri, 23 Oct 2015 11:11:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-type; bh=VHieowAwTRKuwoIm+FKUzD8/GeIQGLwWnO5yoPjo3qw=; b=PpX2xHZTKMhykioqX8/Gf2uSJxBA7csDsUUU3rQ3hxE9IjzA/B29b8ORM5WfnNvxL7 rzU4K9y5OVgvLNc688KfjgcqvwR6IYmmu8pA1wB1ktACT2Ei3PhX1TeeZLtz7xW044Nd ZtmsRJtCu48bWle8ZbdjJgd7BlxcR0SQ57xrNI9MStK5oh7vSe5eMUvSJHzEIo62GlmZ ETszgMj7sQHlbvaz0VyBBvqbDhkgofaKULThut1HXdAGICgl1meljsESdCKXDOI7nxyM Tx1C7s9dz0Sf0R5HfNn07nnFEJs1Ks7K2nny96XFFqAYtipwovptP5EaIF+J7YkhLEHU fDnQ== X-Received: by 10.140.41.81 with SMTP id y75mr27250356qgy.5.1445623913272; Fri, 23 Oct 2015 11:11:53 -0700 (PDT) MIME-Version: 1.0 References: <561F6BFB.7080103@freebsd.org> <20151016154512.T15983@sola.nimnet.asn.au> In-Reply-To: From: Eric Joyner Date: Fri, 23 Oct 2015 18:11:43 +0000 Message-ID: Subject: Re: nice stuff from cloudflare (and, we need something like ethtool!) To: Sepherosa Ziehau , Jim Thompson Cc: "freebsd-net@freebsd.org" , Ian Smith Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2015 18:11:54 -0000 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 wrote: > On Fri, Oct 16, 2015 at 1:25 PM, Jim Thompson wrote: > > > > > > > >> On Oct 16, 2015, at 12:06 AM, Ian Smith 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" >