From owner-freebsd-net@FreeBSD.ORG Thu Sep 8 09:20:22 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D418F106566B for ; Thu, 8 Sep 2011 09:20:22 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6D3828FC08 for ; Thu, 8 Sep 2011 09:20:22 +0000 (UTC) Received: by fxe4 with SMTP id 4so1816832fxe.13 for ; Thu, 08 Sep 2011 02:20:21 -0700 (PDT) Received: by 10.223.85.154 with SMTP id o26mr766791fal.72.1315472162954; Thu, 08 Sep 2011 01:56:02 -0700 (PDT) Received: from [192.168.10.3] ([82.76.253.74]) by mx.google.com with ESMTPS id h5sm1059132fae.13.2011.09.08.01.56.00 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 08 Sep 2011 01:56:01 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=us-ascii From: Vlad Galu In-Reply-To: Date: Thu, 8 Sep 2011 10:55:58 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1315221674.3092.282.camel@deadeye> To: Takuya ASADA X-Mailer: Apple Mail (2.1244.3) Cc: freebsd-net@freebsd.org Subject: Re: Adding Flow Director sysctls to ixgbe(4) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 08 Sep 2011 09:20:22 -0000 On Sep 8, 2011, at 10:11 AM, Takuya ASADA wrote: > Hi, >=20 > 2011/9/5 Ben Hutchings : >> On Mon, 2011-09-05 at 15:51 +0900, Takuya ASADA wrote: >>> Hi, >>>=20 >>> I implemented Ethernet Flow Director sysctls to ixgbe(4), here's a = detail: >>>=20 >>> - Adding removing signature filter >>> On linux version of ixgbe driver, it has ability to set/remove = perfect >>> filter from userland using ethtool command. >>> I implemented similar feature, but on sysctl, and not perfect filter >>> but signature filter(which means hash collision may occurs). >> [...] >>=20 >> Linux also has a generic interface to RX filtering and hashing >> (ethtool_rxnfc) which ixgbe supports; wouldn't it be better for = FreeBSD >> to support something like that? >>=20 >> Ben. >=20 > Linux implement it on ethtool command, what should we do? > Maybe a new option for ifconfig, or provide new command for it? I for one would love to see this functionality built into ifconfig. = Linux always seems to have one tool too many. There's ifconfig, = iproute2, route, mii-tool and ethtool.