From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <keith.wiles@intel.com>
Received: from mga09.intel.com (mga09.intel.com [134.134.136.24])
 by dpdk.org (Postfix) with ESMTP id 5A7B158CB
 for <dev@dpdk.org>; Mon, 16 Mar 2015 17:11:17 +0100 (CET)
Received: from orsmga002.jf.intel.com ([10.7.209.21])
 by orsmga102.jf.intel.com with ESMTP; 16 Mar 2015 09:09:05 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.11,410,1422950400"; d="scan'208";a="699415657"
Received: from orsmsx107.amr.corp.intel.com ([10.22.240.5])
 by orsmga002.jf.intel.com with ESMTP; 16 Mar 2015 09:11:06 -0700
Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by
 ORSMSX107.amr.corp.intel.com (10.22.240.5) with Microsoft SMTP Server (TLS)
 id 14.3.195.1; Mon, 16 Mar 2015 09:11:06 -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;
 Mon, 16 Mar 2015 09:11:05 -0700
From: "Wiles, Keith" <keith.wiles@intel.com>
To: Shankari Vaidyalingam <shankari.v2k6@gmail.com>
Thread-Topic: [Pktgen] Re: Queries on Pktgen
Thread-Index: AQHQYAPNJRAOokjvRkOS7s3tOywvnw==
Date: Mon, 16 Mar 2015 16:11:05 +0000
Message-ID: <D12C4C38.1702B%keith.wiles@intel.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.34.85.253]
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <1CCC0A7AC4FF054EA517333E33320004@intel.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] [Pktgen] Re: Queries on Pktgen
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Mar 2015 16:11:17 -0000


Please make sure you add =91[Pktgen]=92 to the subject line to make it easi=
er to spot your emails on Pktgen.

From: Shankari Vaidyalingam <shankari.v2k6@gmail.com<mailto:shankari.v2k6@g=
mail.com>>
Date: Monday, March 16, 2015 at 8:34 AM
To: Keith Wiles <keith.wiles@intel.com<mailto:keith.wiles@intel.com>>
Cc: "dev@dpdk.org<mailto:dev@dpdk.org>" <dev@dpdk.org<mailto:dev@dpdk.org>>
Subject: Re: Queries on Pktgen

Hi Keith,

Thanks for your response.
I did try giving the pcap file in the -s option but I was not able to see a=
ny pcap files getting generated by the pktgen.
I also tried giving in the -f option but it also doesnt seem to recognize.
Please let me know how to resolve this.

Regards
Shankari.V

On Sun, Mar 15, 2015 at 8:19 PM, Wiles, Keith <keith.wiles@intel.com<mailto=
:keith.wiles@intel.com>> wrote:


From: Shankari Vaidyalingam <shankari.v2k6@gmail.com<mailto:shankari.v2k6@g=
mail.com>>
Date: Sunday, March 15, 2015 at 2:53 AM
To: "dev@dpdk.org<mailto:dev@dpdk.org>" <dev@dpdk.org<mailto:dev@dpdk.org>>
Cc: Keith Wiles <keith.wiles@intel.com<mailto:keith.wiles@intel.com>>
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