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 4C99D5A30 for ; Tue, 25 Aug 2015 15:55:22 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 25 Aug 2015 06:55:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,746,1432623600"; d="scan'208";a="790599790" Received: from pgsmsx107.gar.corp.intel.com ([10.221.44.105]) by orsmga002.jf.intel.com with ESMTP; 25 Aug 2015 06:55:04 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by PGSMSX107.gar.corp.intel.com (10.221.44.105) with Microsoft SMTP Server (TLS) id 14.3.224.2; Tue, 25 Aug 2015 21:55:03 +0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.210]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.171]) with mapi id 14.03.0224.002; Tue, 25 Aug 2015 21:55:02 +0800 From: "Wu, Jingjing" To: Navneet Rao , "Mcnamara, John" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] flow_director_filter error!! Thread-Index: AQHQ2gnJhi7lbhWOVkCvomscsWFZuJ4TZYgAgAFUPQCACAu80A== Date: Tue, 25 Aug 2015 13:55:01 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F8CC2AB5@SHSMSX104.ccr.corp.intel.com> References: <0c2b073a-8d5c-4832-88a4-dff52280718e@default> <5b6a327b-d330-42a8-87f9-cf04d5a41225@default> In-Reply-To: <5b6a327b-d330-42a8-87f9-cf04d5a41225@default> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] flow_director_filter error!! 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: Tue, 25 Aug 2015 13:55:22 -0000 Hi, Navneet I'm sorry for I have no idea about the NIC i540. Are you talking about X540= ? If X540, I guess you can't classify on the MAC-ADDRESS to different queue b= y ethertype filter. Because in the X540 datasheet the ethertype filter is d= escribed as below: " 7.1.2.3 L2 Ethertype Filters These filters identify packets by their L2 Ethertype, 802.1Q user priority = and optionally assign them to a receive queue." So the mac_address is not the filter's input. Thanks Jingjing > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Navneet Rao > Sent: Friday, August 21, 2015 2:57 AM > To: Mcnamara, John; dev@dpdk.org > Subject: Re: [dpdk-dev] flow_director_filter error!! >=20 > Thanks John. >=20 > I am trying to setup/use the flow-director-filter on the i540. >=20 > -- When I try to setup the flow-director-filter as per the example, I am = getting "bad > arguments"!!! > So decided to see if the flush command would work. >=20 >=20 > In the interim --- I am using ethertype filter to accomplish the followin= g. > What I am trying to do is this -- > Use 2 different i540 cards > Use the igb_uio driver. > Use the testpmd app. > Setup 5 different MAC-ADDRESSes on each port. (using the set mac_addr com= mand) > Setup 5 different RxQs and TxQs on each port. > And then use the testpmd app to generate traffic.. >=20 > I am assuming that the testpmd app will now send and receive traffic usin= g the 5 different > MAC_ADDRESSes.. > On each port's receive I will now want to classify on the MAC-ADDRESS and= steer the traffic to > different queues. >=20 > Is there an example/reference on how to achieve this? >=20 > Next, I would want to do "classify" on "flexbytes" and send/steer the tra= ffic to different > queues using flow-director-filter. >=20 > Thanks > -Navneet >=20 >=20 >=20 >=20 > -----Original Message----- > From: Mcnamara, John [mailto:john.mcnamara@intel.com] > Sent: Wednesday, August 19, 2015 3:39 PM > To: Navneet Rao; dev@dpdk.org > Subject: RE: [dpdk-dev] flow_director_filter error!! >=20 > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Navneet Rao > > Sent: Tuesday, August 18, 2015 4:01 PM > > To: HYPERLINK "mailto:dev@dpdk.org" dev@dpdk.org > > Subject: [dpdk-dev] flow_director_filter error!! > > > > After I start the testpmd app, I am flusing the flow_director_filter > > settings and get the following error - > > > > > > > > testpmd> flush_flow_director 0 > > > > PMD: ixgbe_fdir_flush(): Failed to re-initialize FD table. > > > > flow director table flushing error: (Too many open files in system) >=20 > Hi, >=20 > Are you setting a flow director filter before flushing? If so, could you = give an example. >=20 > John. > -- >=20