From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) by dpdk.org (Postfix) with ESMTP id 2B05958CB for ; Mon, 16 Mar 2015 16:34:13 +0100 (CET) Received: by lagg8 with SMTP id g8so43281592lag.1 for ; Mon, 16 Mar 2015 08:34:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/JLY8kFzVGyJGUZCmri3gOeqqDHBSUJW9lpHq67KTas=; b=cj90CIBPWjX8JsgOTPUCVR+fUERpa8vj/JtnjP5w2S+xqyCIqWCP1WhjRZXaBW97mE +NEA9D6TR7s8b6sGowPFYnFU0mBj5n/wVvnJANGvEhBQl0NWzR/3LXBOukQ2PNYDytwM d2+AywfriPzDiLCi/Ag748AbZJYer/Kuj1LnYSf+X0Fj2pRX5PTDG2ZsftUGxV+Tx4M+ sDihrhvzm3ecC+GSjcZj03asXC5tJblm8hE6HTIAoWY2nY2h5Kq4RX5AADXRr7qlJWk+ 3UA1GRV0cq/vcX/u20r7lC7Hfj+2syofDKzLIOFVCGtuiZoZwQM5dwPk41iXSpS0l/tF CTqA== MIME-Version: 1.0 X-Received: by 10.152.26.201 with SMTP id n9mr55191214lag.29.1426520052852; Mon, 16 Mar 2015 08:34:12 -0700 (PDT) Received: by 10.25.214.42 with HTTP; Mon, 16 Mar 2015 08:34:12 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 Mar 2015 21:04:12 +0530 Message-ID: From: Shankari Vaidyalingam To: "Wiles, Keith" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" 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: Mon, 16 Mar 2015 15:34:13 -0000 Hi Keith, Thanks for your response. I did try giving the pcap file in the -s option but I was not able to see any 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 wrote= : > > > 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 > frames 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 > input pcap file. > I checked the options available with pktgen and can see only -s and -f > options to be relevant. > But -s option seems to indicate the output pcap file, and -f option is fo= r > 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 =E2=80=93s option is the correct one to use. > > Hence please let me know which option I need to use for specifying the > input 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 > separately in the pktgen commandline > > > Regards > Shankari.V >