From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) by dpdk.org (Postfix) with ESMTP id D81EB8D3D for ; Sat, 29 Aug 2015 00:50:05 +0200 (CEST) Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t7SMo3kF022268 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 28 Aug 2015 22:50:04 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t7SMo3i8021185 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 28 Aug 2015 22:50:03 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t7SMo3Mf018139; Fri, 28 Aug 2015 22:50:03 GMT MIME-Version: 1.0 Message-ID: <1da59b3e-c436-4829-80be-596d3b0439ed@default> Date: Fri, 28 Aug 2015 15:50:01 -0700 (PDT) From: Navneet Rao Sender: Navneet Rao To: "De Lara Guarch, Pablo" , "Wu, Jingjing" , "Mcnamara, John" , dev@dpdk.org, bruce.richardson@intel.com References: <0c2b073a-8d5c-4832-88a4-dff52280718e@default> <5b6a327b-d330-42a8-87f9-cf04d5a41225@default> <9BB6961774997848B5B42BEC655768F8CC2AB5@SHSMSX104.ccr.corp.intel.com> <9c78ef3c-bc1f-4ceb-9f7d-2a0f12c4eea2@default> <83886fd7-01f7-48fa-b45c-fd545a550f72@default> <27224a44-abf9-4981-8788-915fbbbe89ce@default> In-Reply-To: <27224a44-abf9-4981-8788-915fbbbe89ce@default> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 14.0.7155.0 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0022.oracle.com [156.151.31.74] 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: Fri, 28 Aug 2015 22:50:06 -0000 cc-ing Bruce -- 'cos found an earlier thread on this... http://dpdk.info/ml/archives/dev/2014-February/001381.html Any pointers Bruce -- on how to setup flow-director-filter using x540? Thanks -Navneet -----Original Message----- From: Navneet Rao=20 Sent: Friday, August 28, 2015 3:11 PM To: De Lara Guarch, Pablo; Wu, Jingjing; Mcnamara, John; dev@dpdk.org Subject: Re: [dpdk-dev] flow_director_filter error!! Hi John et al: I am using the X540, and setting it up to receive UDP traffic. Want to use the flow-director filter, to steer packets to different receive= queues. Using the testpmd app, I am running into the following error -- testpmd> flow_director_filter 0 add flow ipv4-udp src 192.168.10.100 dst=20 testpmd> 192.168.10.101 vlan 0x1 flexbytes (0x88,0x48) fwd queue 1 fd_id=20 testpmd> 1 flow director programming error: (Operation not supported) testpmd> flush_flow_director 0 PMD: ixgbe_reinit_fdir_tables_82599(): ixgbe_reinit_fdir_tables_82599 PMD: ixgbe_reinit_fdir_tables_82599(): Flow Director Signature poll time ex= ceeded! PMD: ixgbe_fdir_flush(): Failed to re-initialize FD table. flow director table flushing error: (Too many open files in system) Any ideas what am I missing=E2=80=A6 And also, why is there is a reference to 82599 function here=E2=80=BC -----Original Message----- From: Navneet Rao Sent: Thursday, August 27, 2015 5:35 PM To: De Lara Guarch, Pablo; Wu, Jingjing; Mcnamara, John; dev@dpdk.org Subject: Re: [dpdk-dev] flow_director_filter error!! Hi John et al: I am using the X540, and setting it up to receive UDP traffic. Want to use the flow-director filter, to steer packets to different receive= queues. Using the testpmd app, I am running into the following error -- testpmd> flow_director_filter 0 del flow ipv4-udp src 192.168.10.100 dst testpmd> 192.168.10.101 vlan 0x1 flexbytes (0x88,0x48) fwd queue 1 fd_id testpmd> 1 flow director programming error: (Operation not supported) testpmd> flush_flow_director 0 PMD: ixgbe_reinit_fdir_tables_82599(): ixgbe_reinit_fdir_tables_82599 PMD: ixgbe_reinit_fdir_tables_82599(): Flow Director Signature poll time ex= ceeded! PMD: ixgbe_fdir_flush(): Failed to re-initialize FD table. flow director table flushing error: (Too many open files in system) Any ideas what am I missing=E2=80=A6 And also, why is there is a reference to 82599 function here=E2=80=BC Thanks -Navneet -----Original Message----- From: De Lara Guarch, Pablo [mailto:pablo.de.lara.guarch@intel.com] Sent: Wednesday, August 26, 2015 12:28 AM To: Navneet Rao; Wu, Jingjing; Mcnamara, John; HYPERLINK "mailto:dev@dpdk.= org" dev@dpdk.org Subject: RE: [dpdk-dev] flow_director_filter error!! Hi Navneet, > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Navneet Rao > Sent: Tuesday, August 25, 2015 9:27 PM > To: Wu, Jingjing; Mcnamara, John; HYPERLINK "mailto:dev@dpdk.org"=20 > HYPERLINK "mailto:dev@dpdk.org" dev@dpdk.org > Subject: Re: [dpdk-dev] flow_director_filter error!! >=20 > Hi Jingjing: >=20 > Thanks. >=20 > I did have the ethertype_filter ignore the mac_addr, and look at only=20 > ethertype filtyer and it still got a "bad arguments" message :-( >=20 > testpmd> ethertype_filter 0 add mac_ignr ethertype 0x0806 fwd queue 1 > Bad arguments Yes, apparently the example is wrong. It misses the MAC address, after mac_= ignr. So it should be: ethertype_filter 0 add mac_ignr 00:11:22:33:44:55 ethertype 0x0806 fwd queu= e 1 Regards, Pablo >=20 >=20 >=20 > -----Original Message----- > From: Wu, Jingjing [mailto:jingjing.wu@intel.com] > Sent: Tuesday, August 25, 2015 6:55 AM > To: Navneet Rao; Mcnamara, John; HYPERLINK "mailto:dev@dpdk.org"=20 > HYPERLINK "mailto:dev@dpdk.org" dev@dpdk.org > Subject: RE: [dpdk-dev] flow_director_filter error!! >=20 > Hi, Navneet >=20 > I'm sorry for I have no idea about the NIC i540. Are you talking about X5= 40? > If X540, I guess you can't classify on the MAC-ADDRESS to different=20 > queue by ethertype filter. Because in the X540 datasheet the ethertype=20 > filter is described as below: > " 7.1.2.3 L2 Ethertype Filters > These filters identify packets by their L2 Ethertype, 802.1Q user=20 > priority and optionally assign them to a receive queue." >=20 > So the mac_address is not the filter's input. >=20 > Thanks > Jingjing >=20 > > -----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; HYPERLINK "mailto:dev@dpdk.org" HYPERLINK=20 > > "mailto:dev@dpdk.org" dev@dpdk.org > > Subject: Re: [dpdk-dev] flow_director_filter error!! > > > > Thanks John. > > > > I am trying to setup/use the flow-director-filter on the i540. > > > > -- When I try to setup the flow-director-filter as per the example,=20 > > I am getting "bad arguments"!!! > > So decided to see if the flush command would work. > > > > > > In the interim --- I am using ethertype filter to accomplish the follow= ing. > > 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=20 > > mac_addr > > command) Setup 5 different RxQs and TxQs on each port. > > And then use the testpmd app to generate traffic.. > > > > I am assuming that the testpmd app will now send and receive traffic=20 > > using the 5 different MAC_ADDRESSes.. > > On each port's receive I will now want to classify on the=20 > > MAC-ADDRESS and steer the traffic to different queues. > > > > Is there an example/reference on how to achieve this? > > > > Next, I would want to do "classify" on "flexbytes" and send/steer=20 > > the traffic to different queues using flow-director-filter. > > > > Thanks > > -Navneet > > > > > > > > > > -----Original Message----- > > From: Mcnamara, John [mailto:john.mcnamara@intel.com] > > Sent: Wednesday, August 19, 2015 3:39 PM > > To: Navneet Rao; HYPERLINK "mailto:dev@dpdk.org" HYPERLINK=20 > > "mailto:dev@dpdk.org" dev@dpdk.org > > Subject: RE: [dpdk-dev] flow_director_filter error!! > > > > > -----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" HYPERLINK=20 > > > "mailto:dev@dpdk.org" HYPERLINK "mailto:dev@dpdk.org"=20 > > > dev@dpdk.org > > > Subject: [dpdk-dev] flow_director_filter error!! > > > > > > After I start the testpmd app, I am flusing the=20 > > > 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) > > > > Hi, > > > > Are you setting a flow director filter before flushing? If so, could=20 > > you give > an example. > > > > John. > > -- > >