From owner-freebsd-net@freebsd.org Thu Oct 15 09:04:06 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 AEACD9B6A21 for ; Thu, 15 Oct 2015 09:04:06 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8A17318CE for ; Thu, 15 Oct 2015 09:04:06 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-229-241.lns20.per1.internode.on.net [121.45.229.241]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id t9F941Js033315 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 15 Oct 2015 02:04:04 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: nice stuff from cloudflare (and, we need something like ethtool!) To: freebsd-net@freebsd.org References: From: Julian Elischer Message-ID: <561F6BFB.7080103@freebsd.org> Date: Thu, 15 Oct 2015 17:03:55 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Thu, 15 Oct 2015 09:04:06 -0000 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 > > cheers > luigi > >