From owner-freebsd-net@FreeBSD.ORG Thu Sep 8 08:12:18 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 C972F106566B; Thu, 8 Sep 2011 08:12:18 +0000 (UTC) (envelope-from syuu@dokukino.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 726D48FC1B; Thu, 8 Sep 2011 08:12:17 +0000 (UTC) Received: by qyk4 with SMTP id 4so182944qyk.13 for ; Thu, 08 Sep 2011 01:12:17 -0700 (PDT) Received: by 10.229.66.197 with SMTP id o5mr263906qci.162.1315469537154; Thu, 08 Sep 2011 01:12:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.187.212 with HTTP; Thu, 8 Sep 2011 01:11:37 -0700 (PDT) In-Reply-To: <1315221674.3092.282.camel@deadeye> References: <1315221674.3092.282.camel@deadeye> From: Takuya ASADA Date: Thu, 8 Sep 2011 17:11:37 +0900 Message-ID: To: Ben Hutchings Content-Type: text/plain; charset=UTF-8 Cc: jfv@freebsd.org, 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 08:12:18 -0000 Hi, 2011/9/5 Ben Hutchings : > On Mon, 2011-09-05 at 15:51 +0900, Takuya ASADA wrote: >> Hi, >> >> I implemented Ethernet Flow Director sysctls to ixgbe(4), here's a detail: >> >> - 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). > [...] > > 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? > > Ben. Linux implement it on ethtool command, what should we do? Maybe a new option for ifconfig, or provide new command for it?