From owner-freebsd-net@FreeBSD.ORG Fri Sep 27 10:09:27 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EE7AC2A0; Fri, 27 Sep 2013 10:09:26 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B4F6B2090; Fri, 27 Sep 2013 10:09:26 +0000 (UTC) Received: from Julian-MBP3.local (ppp121-45-245-177.lns20.per2.internode.on.net [121.45.245.177]) (authenticated bits=0) by vps1.elischer.org (8.14.6/8.14.6) with ESMTP id r8RA9IaV039410 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 27 Sep 2013 03:09:22 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <52455949.5070501@freebsd.org> Date: Fri, 27 Sep 2013 18:09:13 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: Adding Flow Director sysctls to ixgbe(4) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Takuya ASADA , "freebsd-net@freebsd.org" , hiren panchasara X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 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, 27 Sep 2013 10:09:27 -0000 On 9/27/13 4:53 PM, Adrian Chadd wrote: > I don't care about whether there's a generic API right now. I'd rather see > it done as a staged thing, but _not_ sysctls. > > Having sysctls to add/remove entries from things is just plain evil. > > I'd rather instead come up with a device specific ioctl API for this for > now w/ a userland tool for each particular chip. Then once we all get a bit > more experience doing this, a unified API can be proposed. that makes it worse If you want to put a device specific sysctl/ioctl set out there then have a device INDEPENDENT tool that knows how to handle the devices we have modified and when we have enough examples we can change the ioctl/sysctl interface to a generic one without changing the interface people are using in their scripts. > > > -adrian > > > > On 27 September 2013 01:49, Takuya ASADA wrote: > >> Hi, >> >> I think there were many comment which says "don't use device specific >> sysctls, we should have more generic interface to configure NIC filter, >> like Linux's ethtool". >> And I heard same idea in last BSDCan, but there's still no proposal of >> "generic interface for NIC filter", I suppose. >> So, honestly I haven't good idea to merge the change. >> Is there any people who has good idea to handle this? >> >> Or, just merge this patch would be fine? >> >> >> 2013/9/27 hiren panchasara >> >>> >>> >>> On Thu, Sep 26, 2013 at 10:38 AM, hiren panchasara < >>> hiren.panchasara@gmail.com> wrote: >>> >>>> >>>> >>>> On Thu, Sep 26, 2013 at 12:58 AM, Michio Honda >> wrote: >>>>> Hi, >>>>> >>>>> The handiest way to try flexible flow distribution is using Flow >>>>> Director. >>>>> I've confirmed that the patch posted to this list two years ago works >>>>> with netmap/ixgbe. >>>>> >>>>> >> http://freebsd.1045724.n5.nabble.com/Adding-Flow-Director-sysctls-to-ixgbe-4-td4769489.html >>>> Thanks a lot for the link, Michio! >>>> >>>> It seems this work is yet not committed?!? >>>> >>> Takuya, >>> >>> I see a lot of responses/comments on proposed changes. Was anything >>> decided at the end of it? As far as I can tell, its still not committed >> to >>> the tree. >>> >>> Thanks, >>> Hiren >>> >>> >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >