DPDK patches and discussions
 help / color / mirror / Atom feed
From: Shankari Vaidyalingam <shankari.v2k6@gmail.com>
To: "Wiles, Keith" <keith.wiles@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Queries on Pktgen
Date: Mon, 16 Mar 2015 21:04:12 +0530	[thread overview]
Message-ID: <CAGeyXNc3PG3xSVZ05cVYYPyBTwgx=a36DpXbJLejOqjnsnpeuA@mail.gmail.com> (raw)
In-Reply-To: <D12B05DA.16EC8%keith.wiles@intel.com>

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 <keith.wiles@intel.com> wrote:

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

  reply	other threads:[~2015-03-16 15:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-15  7:53 Shankari Vaidyalingam
2015-03-15 14:49 ` Wiles, Keith
2015-03-16 15:34   ` Shankari Vaidyalingam [this message]
2015-03-16 15:54     ` Wiles, Keith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGeyXNc3PG3xSVZ05cVYYPyBTwgx=a36DpXbJLejOqjnsnpeuA@mail.gmail.com' \
    --to=shankari.v2k6@gmail.com \
    --cc=dev@dpdk.org \
    --cc=keith.wiles@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).