From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.228.170]) by dpdk.org (Postfix) with ESMTP id 8D4FA5A97 for ; Thu, 21 Jan 2016 07:15:36 +0100 (CET) Received: from mhall-osx-home.local (99-34-229-174.lightspeed.sntcca.sbcglobal.net [99.34.229.174]) by mail.mhcomputing.net (Postfix) with ESMTPSA id DBA8CBF for ; Thu, 21 Jan 2016 01:15:35 -0500 (EST) To: "dev@dpdk.org" From: Matthew Hall Message-ID: <56A07787.2040807@mhcomputing.net> Date: Wed, 20 Jan 2016 22:15:35 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [dpdk-dev] [PKTGEN] dumb question: how to start packet TX and set the payload 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: Thu, 21 Jan 2016 06:15:36 -0000 Hello, I was trying to just use the default PKT file, test/set_seq.pkt, like so: sudo "./app/app/${RTE_TARGET}/pktgen" \ -l 2,3 \ --master-lcore 2 \ -n 2 \ -m 1024 \ -w 0a:00.1 \ --no-shconf \ --file-prefix pktgen \ -- \ -P \ -m 2.0 \ -f test/set_seq.pkt After pktgen loaded, the port 0 is marked as UP. So I typed "start all" and also tried "str". Sadly, so far, it seems like I could not get this to actually begin sending any packets. At least, no counters are incrementing in the pktgen UI. So I wasn't sure how to make sure it is really sending or not. The documentation talked about many different commands available, but it didn't specifically say how to start transmitting the packets based on the content of your *.pkt script file. I'm just trying to figure out what I messed up so that I can write (another) doc patch besides the one I just sent a moment ago. I was also curious about putting some specific payloads into the packets in pktgen. There are many ways of configuring the packet size, but it doesn't talk about how and where to set the packet content. This is important for my app as its performance will go up and down depending on if the L4-L7 data has "interesting" content inside or not. Sincerely, Matthew.