From owner-freebsd-net@FreeBSD.ORG Mon Sep 30 14:22:18 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 04E44D43; Mon, 30 Sep 2013 14:22:18 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ee0-x22a.google.com (mail-ee0-x22a.google.com [IPv6:2a00:1450:4013:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 553962B58; Mon, 30 Sep 2013 14:22:17 +0000 (UTC) Received: by mail-ee0-f42.google.com with SMTP id b45so2736741eek.29 for ; Mon, 30 Sep 2013 07:22:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4gG1/2oFv72Bt/RQrr05HzZROAoQxupzWACZRHnybyQ=; b=jgdwBDmBsEBalMRZC2Grt2k5Vpmg2SArQN0f93icWZ6+nE1RXEN2UhmkLdU9eEYCea MsiFfbwcL7wYHgf/FnFw8CbN+5y++4E77BMK9i4e3xhNOsHBQuLqxy0J20riP6nP1+yR CY/fZmq0jPb6JmguBVDR0xno3/kLxk05PTnYXQwL8otmZqlegiovkJ3mdnxLHzmiYBOH LEO0DNsRVVn8mVS3S/AgiAQmJ81ou2wwfymIYkX0BTAwELK7/a8sE49xMCrnhGDjKVj6 oKIM2FcYsMrWRDlPDJLeAhPudsyttX8G0wQMjTXVIXIaY7sMjGP8/UvwOdvVFbwgLDb4 e3AQ== MIME-Version: 1.0 X-Received: by 10.14.246.11 with SMTP id p11mr38144032eer.9.1380550935652; Mon, 30 Sep 2013 07:22:15 -0700 (PDT) Received: by 10.14.105.137 with HTTP; Mon, 30 Sep 2013 07:22:15 -0700 (PDT) Received: by 10.14.105.137 with HTTP; Mon, 30 Sep 2013 07:22:15 -0700 (PDT) In-Reply-To: References: Date: Mon, 30 Sep 2013 07:22:15 -0700 Message-ID: Subject: Re: Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution) From: hiren panchasara To: Takuya ASADA Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-net@freebsd.org, Adrian Chadd 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: Mon, 30 Sep 2013 14:22:18 -0000 On Sep 30, 2013 5:08 AM, "Takuya ASADA" wrote: > > Hi, > > This is updated version of the patch. I will give this a try today. Cheers Hiren > Signature filter list feature is added. > > Here're usage of ixgbetool: > - add a filter > ixgbetool ix0 add_sig_filter tcpv4 10.1.0.1 34763 10.1.0.2 22 3 > - show filters > ixgbetool ix0 show_sig_filter > - del a filter > ixgbetool ix0 del_sig_filter 1 > > > > 2013/9/30 Takuya ASADA >> >> Hi, >> >> I just implemented device specific ioctl with device specific configuration tool. >> It still doesn't support some important features such as: >> - FDIR enable / disable via sysctl or tunable params >> - ATR enable / disable via sysctl or tunable params >> - IPv6 support on signature filter >> - signature filter list >> - support perfect filter >> But, at least it can configure signature filter manually. >> >> Usage is as follows: >> Usage: ixgbetool [operation] >> add_sig_filter >> del_sig_filter >> >> >> 2013/9/28 hiren panchasara >>> >>> >>> >>> >>> On Fri, Sep 27, 2013 at 1:58 AM, Takuya ASADA wrote: >>>> >>>> 2013/9/27 Adrian Chadd >>>>> >>>>> On 27 September 2013 00:43, hiren panchasara < hiren.panchasara@gmail.com> wrote: >>>>> >>>>>> >>>>>> 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. >>>>> >>>>> >>>>> I'd rather see an ioctl API for that chipset and then have a separate tool program it for now. >>>> >>>> >>>> Ah, like cxgbetool and cxgbe? (it has device specific tool and ioctls) >>>> http://svnweb.freebsd.org/base/head/tools/tools/cxgbetool/ >>> >>> >>> Something like this for ixgbe would be nice to start with, imo. >>> >>> Cheers, >>> Hiren >>>> >>>> http://svnweb.freebsd.org/base/head/sys/dev/cxgb/ >>>> >>>>> >>>>> So, how bout we hack that up? :) >>>> >>>> >>>> Sound's interesting ;-) >>>> Could you tell me more detail about your idea? >>>> >>> >> >