From owner-freebsd-net@FreeBSD.ORG Wed Oct 23 23:32:56 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 CF132AEF for ; Wed, 23 Oct 2013 23:32:56 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ea0-x22c.google.com (mail-ea0-x22c.google.com [IPv6:2a00:1450:4013:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6698928D4 for ; Wed, 23 Oct 2013 23:32:56 +0000 (UTC) Received: by mail-ea0-f172.google.com with SMTP id r16so809305ead.31 for ; Wed, 23 Oct 2013 16:32:54 -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=otOV144LIrcdVkeCK+8ee8NQ/xVhVq2TCMzvzKiDOdI=; b=oM4ufA9F+F4O39oWpvitU1eBatund+oUN+MDbDaFYUvE+WlTWJxwcYvuB4xbV/v+iY fOQupIaiL1+4ffX/l3iLA4VrqftZo9AVvdMbXKVALHREv0+yKcLrSVKbBrQdp52qB718 F3MIuO5KnQD/+V1/fGurC0bpF2IaU5Ey+2iL2Z1vXM/xIL1RCRgQAhn5TRHWbNgBTCCI jCT6H5tvuBu1ywt3pS/E84DwMyI3mTNQjAN4ach7Y89R2XgEz9LZOqDKFiddzQgLk5cS koGfY2kAZAaSjkbKVitYsKn4HC2qZcL/kp47XWnQq4K9QvM8/MLD3YMVGdZvT06Q/6Ow Ikdw== MIME-Version: 1.0 X-Received: by 10.14.219.198 with SMTP id m46mr4257428eep.41.1382571174128; Wed, 23 Oct 2013 16:32:54 -0700 (PDT) Received: by 10.14.127.195 with HTTP; Wed, 23 Oct 2013 16:32:54 -0700 (PDT) In-Reply-To: References: Date: Wed, 23 Oct 2013 16:32:54 -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 Cc: "freebsd-net@freebsd.org" 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: Wed, 23 Oct 2013 23:32:56 -0000 On Mon, Oct 7, 2013 at 5:49 PM, hiren panchasara wrote: > On Mon, Oct 7, 2013 at 12:01 AM, Takuya ASADA wrote: >> Hi, >> >> This is updated version of "ixgbetool" patch. > I will try to give this a try tomorrow. Alright, sorry for the delay. I now have bandwidth/setup to test this. > > Cheers, > Hiren >> Here's improved feature list: >> - signature filter list feature available >> - user-defined filter can be use with an ATR. How does this work? You identify user-defined flows and apply ATR on the rest of the flows? >> To enable it, add "hw.ixgbe.cooperative_atr=1" on /boot/loader.conf >> >> Usage is as follows: >> ixgbetool [operation] >> add_sig_filter >> >> show_sig_filter >> del_sig_filter I believe, I can somehow test whether the signature filter works or not by generating custom traffic, creating matching filter, directing the traffic to a specific queue and watch that queue. But how do I test/see ATR (application targeted receive) in action? Traffic for a specific application should follow the application on different cpus, right? Any guidance on how to do that would be great. cheers, Hiren