From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by dpdk.org (Postfix) with ESMTP id 9AA92137D for ; Mon, 20 Jan 2014 20:07:14 +0100 (CET) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail1.windriver.com (8.14.5/8.14.5) with ESMTP id s0KJ8TwZ006479 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 20 Jan 2014 11:08:29 -0800 (PST) Received: from ALA-MBA.corp.ad.wrs.com ([169.254.2.188]) by ALA-HCB.corp.ad.wrs.com ([147.11.189.41]) with mapi id 14.02.0347.000; Mon, 20 Jan 2014 11:08:29 -0800 From: "Wiles, Roger Keith" To: "Sharma, RishiX" Thread-Topic: [dpdk-dev] Sending & Receiving Packets Thread-Index: Ac8WDdco8LA4GL/VRfW8QUGtx++xkAASDckA Date: Mon, 20 Jan 2014 19:08:29 +0000 Message-ID: <85B52E2E-5573-482E-AC52-F09B5CC8113A@windriver.com> References: <0EC512B82F68174299CB115EE79F9AFA94ACA1@ORSMSX108.amr.corp.intel.com> In-Reply-To: <0EC512B82F68174299CB115EE79F9AFA94ACA1@ORSMSX108.amr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.40.167] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Sending & Receiving Packets 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, 20 Jan 2014 19:07:15 -0000 Hi Rishi, Normally I use 'start ' pktgen> start 0 # Start port 0 sending pktgen> start 0,3 # Start port 0 and 3 sending pktgen> start 0-3 # start port 0, 1, 2 and 3 send packets. pktgen> start all # start sending on all ports pktgen> stp # stop sending on all ports pktgen> str # start sending on all ports On the main screen is the single packet send configuration for the ports. Y= ou need to make sure you set your dst mac to the correct DUT MAC address. I= f you are fowarding L3 packets then you need to make sure the IP dst/src ad= dresses are correct. set mac etheraddr - Set MAC addresses 00:11:22:33:44:55 You can use 0011:2233:= 4455 format as well set ip src|dst ipaddr - Set IP addresses set ip dst 0 192.168.0.10 set ip src 0 192.168.0.1/24 Let me know if that helps. Thanks ++Keith Keith Wiles, Principal Technologist for Networking member of the CTO office= , Wind River direct 972.434.4136 mobile 940.213.5533 fax 000.000.0000 [Powering 30 Years of Innovation] On Jan 20, 2014, at 12:31 PM, Sharma, RishiX > wrote: Hi Keith, Just to give you the background .I need to test the packet throughput perfo= rmance of one of my device using DPDK . The DUT is connected to my Linux host machine with one of the port and I wa= nt to run the Pktgen on my host machine to send the packets to the DUT wher= e DPDK (Testpmd app) is running in fwd rx_only mode.I have setup one of the= network port as igb_uio port and using it . I'm able to compile and run the pktgen with start all but I don't know how = to configure the pktgen to send packets to DUT. I want to know the steps and exact commands required to send packets to my = DUT . -Rishi