From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 3B7FF2EDA for ; Sun, 20 Dec 2015 11:31:42 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP; 20 Dec 2015 02:31:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,453,1444719600"; d="scan'208";a="621112046" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by FMSMGA003.fm.intel.com with ESMTP; 20 Dec 2015 02:31:40 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.23]) by IRSMSX107.ger.corp.intel.com ([169.254.10.124]) with mapi id 14.03.0248.002; Sun, 20 Dec 2015 10:31:39 +0000 From: "De Lara Guarch, Pablo" To: "Yeddula, Avinash" , "dev@dpdk.org" Thread-Topic: testpmd loopback mode Thread-Index: AdE54wPDmwoWII6KTZKYt4EofeHLSQBLL/YQ Date: Sun, 20 Dec 2015 10:31:39 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] testpmd loopback mode 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: Sun, 20 Dec 2015 10:31:42 -0000 Hi Avinash, > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Yeddula, Avinash > Sent: Friday, December 18, 2015 10:26 PM > To: dev@dpdk.org > Subject: [dpdk-dev] testpmd loopback mode >=20 > Hello All, > Would someone please let me know, how to run "testpmd" app in a > loopback mode. >=20 > Port1 ----------------testpmd -app ---------traffic back to---------port1 >=20 I assume you have two ports and you only want to use Port 1? If you had only one port (the port that you want to use), by default you wo= uldn't need to do anything, just run testpmd without any parameters. If you have two ports, you can either: 1 - Run testpmd on interactive mode and configure forwarding only on port 1= : ./build/app/testpmd -c f -n 4 -- -i Testpmd> set portlist 1 Testpmd> start 2 - Run testpmd with portmask parameter, doing the same as above: ./build/app/testpmd -c f -n 4 -- --portmask=3D0x2 By the way, for these kind of questions, you should use our other list user= s@dpdk.org. Any further questions, let me know. Pablo > Thanks > -Avinash