From owner-freebsd-net@FreeBSD.ORG Fri Sep 27 08:53:04 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B566CA0A for ; Fri, 27 Sep 2013 08:53:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 36D442C4B for ; Fri, 27 Sep 2013 08:53:04 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id b13so2375798wgh.35 for ; Fri, 27 Sep 2013 01:53:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=lmv+StQ09gVhHfnk+TD/QdyxGbA1S0Xm2Q2pc9cgYjk=; b=L5UPtZAtFFgV5JQUc6pFM2OIXNHc/eektZtC7fkf4RYeojjx6/Q//G/GbncPPjeM+Y NkPWVh9exT53UYKYbWeYV95TthdH1XFNFvJk0fOLSumSfBI48bbn9UWN8vPl1p0CUdGs +fwwEYf1QxctTmr8hTzVBzbb0tAu6Sa6OBBwdDiqLsv4uhTB7prbU1HVehPCOLc3+boj PYwyC8aFF53CIav+NdXVpJl+qiurLISTXNmI9O8HOqJ3sR1B+ppvI9KSIMrEBQ0OgCmV +13XT3SQUqwtFd5V5CDmbkMevkzb0fvq1rtzkJsKJMf1ifAN8lxeKkRDoFivpbtHwNch GY/w== MIME-Version: 1.0 X-Received: by 10.180.75.236 with SMTP id f12mr1748353wiw.0.1380271982512; Fri, 27 Sep 2013 01:53:02 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.73.133 with HTTP; Fri, 27 Sep 2013 01:53:02 -0700 (PDT) In-Reply-To: References: Date: Fri, 27 Sep 2013 01:53:02 -0700 X-Google-Sender-Auth: EYGwVQPZ20hna4_ju50TQIEBLMM Message-ID: Subject: Re: Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution) From: Adrian Chadd To: Takuya ASADA Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "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 08:53:04 -0000 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. -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" >