From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wiles, Keith" Subject: Re: Queries on Pktgen Date: Mon, 16 Mar 2015 15:54:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Cc: "dev-VfR2kkLFssw@public.gmane.org" To: Shankari Vaidyalingam Return-path: In-Reply-To: Content-Language: en-US Content-ID: <8669F45BFF66A746A2F6B5C3C97BF220-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" From: Shankari Vaidyalingam > Date: Monday, March 16, 2015 at 8:34 AM To: Keith Wiles > Cc: "dev-VfR2kkLFssw@public.gmane.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. KW:Please send me the command line and the startup output. Also the flags f= or the port you assigned the PCAP file too. Normally the port that is attac= hed 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 > wrote: From: Shankari Vaidyalingam > Date: Sunday, March 15, 2015 at 2:53 AM To: "dev-VfR2kkLFssw@public.gmane.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