From mboxrd@z Thu Jan 1 00:00:00 1970 From: Navneet Rao Subject: Re: working example commands for ethertype/flow_director_filter ? Date: Mon, 24 Aug 2015 11:56:14 -0700 (PDT) Message-ID: <8c30153a-e4f8-4afb-bc6d-b4e6d40a591c@default> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable To: dev@dpdk.org Return-path: Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) by dpdk.org (Postfix) with ESMTP id DBEFB5A83 for ; Mon, 24 Aug 2015 20:56:17 +0200 (CEST) Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t7OIuGqY009380 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 24 Aug 2015 18:56:16 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t7OIuGgK025397 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 24 Aug 2015 18:56:16 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t7OIuGA0027176 for ; Mon, 24 Aug 2015 18:56:16 GMT In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" testpmd> mac_addr add 0 00:10:E0:3B:3B:50 testpmd> set promisc all on testpmd> ethertype_filter 0 add mac_addr 00:10:E0:3B:3B:50 ethertype 0x08= 06 fwd queue 1 ethertype filter programming error: (Invalid argument) testpmd> ethertype_filter 0 add mac_addr 00:10:E0:3B:3B:50 ethertype 0x080= 6 fwd queue 1 ethertype filter programming error: (Invalid argument) testpmd> ethertype_filter 0 add mac_ignr ethertype 0x0806 fwd queue 1 Bad arguments =20 =20 Has anyone been able to get this to work!!! All I want to is steer the traffic on port0 to go to some other queue (inst= ead of default 0) =20 And I want to filter on the mac_address.so using the ethertype_filter. =20 Thanks -Navneet =20 =20 -----Original Message----- From: Navneet Rao=20 Sent: Friday, August 21, 2015 2:55 PM To: dev@dpdk.org Subject: [dpdk-dev] working example commands for ethertype/flow_director_fi= lter ? =20 Hello: =20 =20 If anybody has any working example commands for ethertype or flow_director_= filter, can you please send it across.. =20 I am using the testpmd app, and it is constantly reporting "bad-arguments" = even for the legal commands in the doc!!! =20 =20 Thanks =20 -Navneet =20 =20 =20