Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 2015 16:46:56 +0800
From:      Sepherosa Ziehau <sepherosa@gmail.com>
To:        Jim Thompson <jim@netgate.com>
Cc:        Ian Smith <smithi@nimnet.asn.au>,  "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: nice stuff from cloudflare (and, we need something like ethtool!)
Message-ID:  <CAMOc5cxHPs%2BPgS%2BzonjrfE%2BuCTgSafpC_j1sFP9k_CjGpE9=pw@mail.gmail.com>
In-Reply-To: <D6A89176-A6D0-4215-B434-16D2482184BA@netgate.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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMOc5cxHPs%2BPgS%2BzonjrfE%2BuCTgSafpC_j1sFP9k_CjGpE9=pw>