DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Queries on Pktgen
@ 2015-03-15  7:53 Shankari Vaidyalingam
  2015-03-15 14:49 ` Wiles, Keith
  0 siblings, 1 reply; 4+ messages in thread
From: Shankari Vaidyalingam @ 2015-03-15  7:53 UTC (permalink / raw)
  To: dev

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.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] Queries on Pktgen
  2015-03-15  7:53 [dpdk-dev] Queries on Pktgen Shankari Vaidyalingam
@ 2015-03-15 14:49 ` Wiles, Keith
  2015-03-16 15:34   ` Shankari Vaidyalingam
  0 siblings, 1 reply; 4+ messages in thread
From: Wiles, Keith @ 2015-03-15 14:49 UTC (permalink / raw)
  To: Shankari Vaidyalingam, dev



From: Shankari Vaidyalingam <shankari.v2k6@gmail.com<mailto:shankari.v2k6@gmail.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 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] Queries on Pktgen
  2015-03-15 14:49 ` Wiles, Keith
@ 2015-03-16 15:34   ` Shankari Vaidyalingam
  2015-03-16 15:54     ` Wiles, Keith
  0 siblings, 1 reply; 4+ messages in thread
From: Shankari Vaidyalingam @ 2015-03-16 15:34 UTC (permalink / raw)
  To: Wiles, Keith; +Cc: dev

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
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] Queries on Pktgen
  2015-03-16 15:34   ` Shankari Vaidyalingam
@ 2015-03-16 15:54     ` Wiles, Keith
  0 siblings, 0 replies; 4+ messages in thread
From: Wiles, Keith @ 2015-03-16 15:54 UTC (permalink / raw)
  To: Shankari Vaidyalingam; +Cc: dev



From: Shankari Vaidyalingam <shankari.v2k6@gmail.com<mailto:shankari.v2k6@gmail.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 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.

KW:Please send me the command line and the startup output. Also the flags for the port you assigned the PCAP file too. Normally the port that is attached to the the PCAP file will send the PCAP when started.


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@gmail.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 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-16 15:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-15  7:53 [dpdk-dev] Queries on Pktgen Shankari Vaidyalingam
2015-03-15 14:49 ` Wiles, Keith
2015-03-16 15:34   ` Shankari Vaidyalingam
2015-03-16 15:54     ` Wiles, Keith

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git