From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id C5D5258F7 for ; Thu, 15 Jan 2015 15:44:55 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 15 Jan 2015 06:44:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,404,1418112000"; d="scan'208";a="637764237" Received: from bricha3-mobl3.ger.corp.intel.com ([10.243.20.34]) by orsmga001.jf.intel.com with SMTP; 15 Jan 2015 06:44:51 -0800 Received: by (sSMTP sendmail emulation); Thu, 15 Jan 2015 14:44:50 +0025 Date: Thu, 15 Jan 2015 14:44:50 +0000 From: Bruce Richardson To: Kamraan Nasim Message-ID: <20150115144449.GA1880@bricha3-MOBL3> References: <20150114102722.GC10476@bricha3-MOBL3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org, Ean Houts , Jun Du Subject: Re: [dpdk-dev] Does I210 NIC support Flow director filters? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2015 14:44:56 -0000 On Wed, Jan 14, 2015 at 04:59:17PM -0500, Kamraan Nasim wrote: > Many thanks Helin and Bruce :) > > Now if 1Gb NICs don't support fdir filters then im wondering how would we > count the number of packets matching a filter. > > Regular 5tuple filters don't have any stats similar to "fdirmatch"(in the > rte_eth_stats struct). > One way I can think of is to use regular ibytes/ipackets stats for the > queue to which the packets are being redirected in the 5tuple filter but > this seems a bit hacky + there is no way to distinguish this packet > throughput from the regular traffic that the NIC is forwarding to that > specific queue. > > Is there a way to EXCLUSIVELY bind a 5tuple filter to an RSS queue so that > only matched traffic is forwarded there? > > > --Kam > What you can do is use a 5-tuple filter to send traffic to a queue. What you can also do is update the RSS RETA table so that traffic doesn't get sent to that queue via RSS. Is that what you are asking? /Bruce > On Wed, Jan 14, 2015 at 5:27 AM, Bruce Richardson < > bruce.richardson@intel.com> wrote: > > > On Tue, Jan 13, 2015 at 11:21:08PM -0500, Kamraan Nasim wrote: > > > Hello, > > > > > > I've been using DPDK fdir filter APIs for 82599 NIC(Niantic) and they > > work > > > very well. > > > > > > Was wondering if I these could also be used for I210, 1Gbps NICs? > > > > > > The other option is to use 5tuple filters(rte_eth_dev_add_5tuple_filter > > > < > > http://dpdk.org/doc/api/rte__ethdev_8h.html#aaa28adafa65a4f47d4aeceaf1b08381b > > >), > > > however these do not support IPv6 yet. > > > > > > > > > Have people in the community had any luck with configuring L3/L4 hardware > > > filters for the I210 NIC? > > > > > > Thanks, > > > Kam > > > > Flow director filters are not supported for 1G NICs. Sorry. > > > > /Bruce > >