From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id B401CA6A for ; Sun, 15 Mar 2015 15:49:25 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 15 Mar 2015 07:49:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,404,1422950400"; d="scan'208";a="692407482" Received: from orsmsx105.amr.corp.intel.com ([10.22.225.132]) by fmsmga002.fm.intel.com with ESMTP; 15 Mar 2015 07:49:24 -0700 Received: from orsmsx152.amr.corp.intel.com (10.22.226.39) by ORSMSX105.amr.corp.intel.com (10.22.225.132) with Microsoft SMTP Server (TLS) id 14.3.195.1; Sun, 15 Mar 2015 07:49:24 -0700 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by ORSMSX152.amr.corp.intel.com (10.22.226.39) with Microsoft SMTP Server (TLS) id 14.3.195.1; Sun, 15 Mar 2015 07:49:24 -0700 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.22]) by FMSMSX157.amr.corp.intel.com ([169.254.14.231]) with mapi id 14.03.0195.001; Sun, 15 Mar 2015 07:49:23 -0700 From: "Wiles, Keith" To: Shankari Vaidyalingam , "dev@dpdk.org" Thread-Topic: Queries on Pktgen Thread-Index: AQHQXvUWLOPiyk8F/kilaQJybo4wMp0dwguA Date: Sun, 15 Mar 2015 14:49:22 +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: [10.254.44.182] Content-Type: text/plain; charset="Windows-1252" Content-ID: <33691ED17F17CC4696424EF4483FF670@intel.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] Queries on Pktgen 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, 15 Mar 2015 14:49:26 -0000 From: Shankari Vaidyalingam > Date: Sunday, March 15, 2015 at 2:53 AM To: "dev@dpdk.org" > Cc: Keith Wiles > Subject: Queries on Pktgen Hi, For testing an application that I'd developed, I'd like to send LLDP frame= s from pktgen to the NIC port and then use DPDK to receive packets from the= port and process the packets. I have a PCAP file which contains LLDP frames in it. I heard that pktgen has the ability to generate the packets specified in in= put pcap file. I checked the options available with pktgen and can see only -s and -f opti= ons to be relevant. But -s option seems to indicate the output pcap file, and -f option is for = specifying the Lua script or command list to execute. KW: The -s P:PCAP_file is used to define the port and file for sending via = Pktgen, so the =96s option is the correct one to use. Hence please let me know which option I need to use for specifying the inpu= t pcap file from which the pktgen should generate the packets from, Also would like to know how I can specify the transmit and receive ports s= eparately in the pktgen commandline Regards Shankari.V