From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) by dpdk.org (Postfix) with ESMTP id 3BD5C376D for ; Wed, 2 Sep 2015 02:09:08 +0200 (CEST) Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t82096EU014248 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 2 Sep 2015 00:09:07 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t82096ve012517 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 2 Sep 2015 00:09:06 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t820961n013800; Wed, 2 Sep 2015 00:09:06 GMT MIME-Version: 1.0 Message-ID: Date: Tue, 1 Sep 2015 17:09:04 -0700 (PDT) From: Navneet Rao Sender: Navneet Rao To: "Mcnamara, John" , "De Lara Guarch, Pablo" , "Wu, Jingjing" , dev@dpdk.org 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: 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: userv0021.oracle.com [156.151.31.71] 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: Wed, 02 Sep 2015 00:09:08 -0000 Thanks John, I figured that out since I was seeing the MODE: DISABLE all th= e time.... Now I am able to set the flow-director-filter correctly...but need to play = with the settings to get it right!!! Will ping this group if I am still stuck end of the week. Thanks -Navneet -----Original Message----- From: Mcnamara, John [mailto:john.mcnamara@intel.com]=20 Sent: Monday, August 31, 2015 4:07 AM To: Navneet Rao; De Lara Guarch, Pablo; Wu, Jingjing; dev@dpdk.org Subject: RE: [dpdk-dev] flow_director_filter error!! > From: Navneet Rao [mailto:navneet.rao@oracle.com]=20 > Sent: Friday, August 28, 2015 11:11 PM > To: De Lara Guarch, Pablo; Wu, Jingjing; Mcnamara, John; dev@dpdk.org > Subject: RE: [dpdk-dev] flow_director_filter error!! >=20 > 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 recei= ve 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 ... > flow director programming error: (Operation not supported) Hi, You need to pass --pkt-filter-mode=3Dperfect or --pkt-filter-mode=3Dsignatu= re on the commandline to enable flow director. If it isn't enabled you will= see something like the following and you will get the "Operation not suppo= rted" message in several places: testpmd> show port fdir all ######################## FDIR infos for port 0 #####################= ### MODE: DISABLE SUPPORTED FLOW TYPE: ipv4-tcp ipv4-udp ipv4-sctp ipv4-other ipv6-tcp ipv= 6-udp ipv6-sctp ipv6-other FLEX PAYLOAD INFO: ... John. --=20