From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E82AEA00E6 for ; Wed, 10 Jul 2019 15:41:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 29B542E81; Wed, 10 Jul 2019 15:41:36 +0200 (CEST) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by dpdk.org (Postfix) with ESMTP id 432CCA3 for ; Wed, 10 Jul 2019 15:41:34 +0200 (CEST) Received: by mail-pl1-f169.google.com with SMTP id k8so1268690plt.3 for ; Wed, 10 Jul 2019 06:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OU9FLfx+G1nDcfX3b4LPezAKR3NXg4dEkHPhR8cpY18=; b=pXPmcsHTC9j8nVlpZgVGnQDBl8sSaKouaAKAovy1EE1IcVwuYde0xB8JzRWN1zEshA rfSt9jguYqJXZ71yz7Q6IkRhcsR+HADzqOpqN5TVqyGoUuKY6huLO+9WALsXT4xJqUxb CQ7w9LV95Wcv0SkgAr6lWbzlpBYOAJwT3znl03KAV3Tjj2BwPvmnalUMeElCUmqgRrTd 6hUrTN9LNYLTbJwi1a1IOmqqBlAXZeT9sUAoa/6H4SA6ouFVBai2aomc6MlfBXP5ym7E ebyf8nngBeqWtgmPnaMAAa61INkgZPnsQ7iCihWOp5XpbmIcYrAczrcsIbABYl9PTEku RoqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OU9FLfx+G1nDcfX3b4LPezAKR3NXg4dEkHPhR8cpY18=; b=BcbuuqaKlpodPwYUBW2FL1GrHUhzynxGMcCMNUF4SuxfZoo2bA3Ae6V/24Hbg3rlw/ pdGp29GUEx3p2mSHEY7/MTKQVLNQ9+0EgZH7Ta75qXf2BzZ3J1D2zgCpywviANLYBRRB KNYoqiNPOPl10WM1Lj4jiUEjuHuH7Etzww/KIwpmvzUq0SF+Rq3mUDmQGBPBNhXvuDHY o4qtatYUZRcRp3T//E0qPZlJX2VUTqK+LZq19opzx+oQ6ha5vm9PzUIPRO4RjLgt4jk4 e4W2RO9GGvKWq0VbAvW1qHgE3aCmf28IDuDnQUtU3NCHxCWweJsOhOtqAWtwMgFleioo skaA== X-Gm-Message-State: APjAAAWp1GENQkhlHsaiWm0B+Z6Tk2/i7zuGVUzv8U5340rGMuw82GrR GsyOXpQ+ZdeWRBJPopQW+Ni5gcn3sYI5kFowndY= X-Google-Smtp-Source: APXvYqxBmfRQ+Xe+mkE14mEHMHhpzVVxqHeU9JLpKji/hMoSRdVbLK3cF2Ra0hx0Pa1/EI9s4TLhaD7/M0JP/K6OA08= X-Received: by 2002:a17:902:8d97:: with SMTP id v23mr38145503plo.157.1562766093379; Wed, 10 Jul 2019 06:41:33 -0700 (PDT) MIME-Version: 1.0 References: <117A28F3-51CD-4A6B-9BC1-6EC14F346147@intel.com> In-Reply-To: <117A28F3-51CD-4A6B-9BC1-6EC14F346147@intel.com> From: Sara Gittlin Date: Wed, 10 Jul 2019 16:41:21 +0300 Message-ID: To: "Wiles, Keith" Cc: "users@dpdk.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] pktgen w pcap file X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Thank you Keith -Sara On Wed, Jul 10, 2019 at 4:19 PM Wiles, Keith wrote: > The way Pktgen works is it loads the packets into memory until it fills up > the number of buffers allocated, which I think is 8192 buffers. If you pcap > file is more then that they are ignored. > > Pktgen has different modes for the transmitting packets, the PCAP is > loaded and assign to a port, but it doe not mean they will be sent. The > default mode is single packet mode and you have to enable PCAP file to be > sent using the enable pcap command. Then you have to do a start > on that port to send the pcap files. Each mode has its own set > of buffers it can send, so you can switch to modes and be able to reenable > pcap mode on a port to send the pcap buffers again. > > The pcap data loaded into memory will be sent over and over if you send > more than the number of pcap packets you loaded. The way DPDK works it > possible they will be send out of order :-( > > > On Jul 10, 2019, at 8:12 AM, Sara Gittlin > wrote: > > > > Hi all > > I'm running the pkgen w pcap file , -s P:http.pcap > > but i dont see any pkts in the receive side > > Is pktgen automatically transmits the pcap after startup ? or i have to > > manually run it from the cli ? > > is it possible to run this pcap many times? > > Thank you > > -Sara > > Regards, > Keith > >