From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f177.google.com (mail-qt0-f177.google.com [209.85.216.177]) by dpdk.org (Postfix) with ESMTP id C7F862952 for ; Wed, 10 May 2017 11:10:00 +0200 (CEST) Received: by mail-qt0-f177.google.com with SMTP id j29so21459679qtj.1 for ; Wed, 10 May 2017 02:10:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=YsK/7tfY8JR695CMgy/lSY6W36/ckTJ2qPg3DV4XEMA=; b=GbFKTmX1vMvhqaA/E0iVlbqiOW3+dAEKJi/SvyxSbU/gT8/vFIDdffTWGCZfsbZB0u 5d9Y1725UntroiRHgajNSU1gS2B3rjJ4gVSUA4RNe6LxH8iiwjZvurWhIW77yhI9L58L ZCJGy13Wg/9BbHhnd1e2jZhVZYShjaHJKHcCy+U7jeKu4Ek/+BzplFkc2a0wRxrrcZHk r4HAlVYs61FGACJ3fWhAd+ArhmGMYPRZriCYPzSv44p9apUEFjUXEPaEiAOWGxmzXAh8 Iwnlhzm/ecNnIIy/QMrq8fklBb4DDgonlWMzGb+TJfOoRKslgkPNUxsvuKDgtxBsLGyb LXuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=YsK/7tfY8JR695CMgy/lSY6W36/ckTJ2qPg3DV4XEMA=; b=hwOSMBYGg6jpX877p87mIP0UDSjI642JD4Qls/nioB9wzdhVIGzFjuSzIsM6RCwSPa mYUUFH0f69MhGcryMg3FdWHYIEfKlyORtv47Fbk3y0CSiefhvPVmWy42oJnDL9JHKVNP 8ijq9H7E/e0431PGFIbttd/dX3l6vHyf+Q+eul6YBqDuLTw+Gba+bU0sSsZBG8W/IKmD DDdh5++yeAUqqXEm6IGmlKl8lveM1y5lf6OIZgzknI/R+eHPdK84+ncHxPdcX92ihz8L g1wI2ZS+NvoB9s9RsTR6B5qYbqn+/tmBkz8zL0afXRPa2ProRj15HYT+cXOq0bEW3oYF WWkg== X-Gm-Message-State: AODbwcB4mq7xD7pdzOE00OqDzTSXIS6wKNJc9f1AW0z3ycA5gA17LVJM ecQcHUb8hIhXZBTZrM3VojAYM1k7DQ== X-Received: by 10.200.41.214 with SMTP id 22mr262943qtt.144.1494407400052; Wed, 10 May 2017 02:10:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.108.100 with HTTP; Wed, 10 May 2017 02:09:29 -0700 (PDT) In-Reply-To: References: From: James Bensley Date: Wed, 10 May 2017 10:09:29 +0100 Message-ID: To: "Wiles, Keith" Cc: "users@dpdk.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-users] PktGen Ethertype 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: , X-List-Received-Date: Wed, 10 May 2017 09:10:01 -0000 On 9 May 2017 at 14:56, Wiles, Keith wrote: Hi Keith! > The range command can allow you to adjust the type field and then send th= ose in a burst. The problem is pktgen was designed to send packets at a hig= h rate if needed and that means setting up the packets before hand. The num= ber of packets being able to be setup before hand is 8192. The random comma= nd can adjust the ether type randomly for each packet with a performance hi= t. Maybe one of these would help. So it sounds like the range command is what I want then, if I can systematically adjust the EtherType field (e.g. I can explicitly say start at 0x0 and run to 0xFFFF) just with the caveat that I have to send a burst of packet for each loop iteration? If that is the case I don't mind, it will still get the job done of testing every Ethertype through a DUT. Any chance I can lower the burst size on the CLI to 64 packets for example to speed things up? > Also I am more then willing to take patches :-) Sure, I didn't want to spend hours testing to find out that I can't do what I wanted to do which is why I asked here. Sounds like it can be done so I'll have a poke around with the code and see what I can do. Thanks for your help it is greatly appreciated, James.