From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) by dpdk.org (Postfix) with ESMTP id DD6552BE3 for ; Fri, 22 Apr 2016 20:42:35 +0200 (CEST) Received: by mail-lf0-f66.google.com with SMTP id y84so1213933lfc.3 for ; Fri, 22 Apr 2016 11:42:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=hkdi6KOmpJPzaWsrQ8+fVJhi92xPb2rFXAsyIYMiMlk=; b=VrJZa92GwIVJ588gCfIeGW/e+8i9DtoWVy0uY37WUcth5M063VoLljIdgSFjjfoiUi /m9kAcGfGYHhS/8oj0hnH4O5d69wD9180Wkh18lKNpsiwC9LR2wJFi+sez7fzepvR1s0 mUFFHc4KSu4xjj1oAuUBxK60UniYHTh9gd2Ifp7VI2FSST0em1ns6+TRq0DOvo50LYgS 3O/e86Yehm6AES+8kI0bo9PZi2LwTiSBnr8kW7gLEi669KOLHWqdr75BolBoo3mMNo2j Uaatg/8v/EEhhGZguxsnJtGfRAq02D2TuoqBpJnx4vNR2KXx6OyUh3R9DmSFgZFXoFU9 lBJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=hkdi6KOmpJPzaWsrQ8+fVJhi92xPb2rFXAsyIYMiMlk=; b=CEbfYi/bHB+KSBZQPo7YwNdpBrjBEIXftH83agl/h9Yxo5uQ+arptjvR5/WZ/+ZWOX LjSeV4ki4A8DHb4NnTZw9qcikOsEnm6cHm2+8napTaejJT2QBiF44Tc6vFouf3nR2OkP pxt8VIrx7gY+cHhwMGKNWs7p5C4LaEhikZ58pHr4SaeTsoqygA3TNe+s9h7s8zEMXhqa uK1sjNNoryauOYCwetvx34HV5dKRunQykM4Wal3cuU1NIvjr12eMc91yhd/dbBzeEVMj 7dbmYHsjmGQ1EsCWNPd0mlkoE3nFprVDs4bleDqio9ODeJ04wSGyEKCTHifxK+BArGoD kTXA== X-Gm-Message-State: AOPr4FUUy4bWxf3x5zxTqwUNFUHroEzW/qwnAtSXu7Ui18bZVZJQMYga+OLoJjsCcdXxuPiOpYfUTnOo2+suzA== MIME-Version: 1.0 X-Received: by 10.25.21.232 with SMTP id 101mr5132595lfv.146.1461350555604; Fri, 22 Apr 2016 11:42:35 -0700 (PDT) Received: by 10.25.15.207 with HTTP; Fri, 22 Apr 2016 11:42:35 -0700 (PDT) In-Reply-To: References: Date: Fri, 22 Apr 2016 11:42:35 -0700 Message-ID: From: Vincent Li To: "users@dpdk.org" Content-Type: text/plain; charset=UTF-8 Subject: Re: [dpdk-users] pktgen-dpdk range for udp proto seems not working X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2016 18:42:36 -0000 here is a diff to add the range.proto in help menu: # git diff diff --git a/app/cmd-functions.c b/app/cmd-functions.c index b2fda7c..c348e73 100644 --- a/app/cmd-functions.c +++ b/app/cmd-functions.c @@ -303,6 +303,8 @@ const char *help_info[] = { "pkt.size max value - Set pkt size maximum address", "pkt.size inc value - Set pkt size increment address", "range - Enable or Disable the given portlist for sending a range of packets", + "range.proto [tcp|udp|icmp]", + " - Set ip proto for sending a range of packets", "", "<>", " Flags: P---------------- - Promiscuous mode enabled", I also noticed that the range.proto setting can not be saved when running "save " command, not sure how to patch that up. On Fri, Apr 22, 2016 at 11:31 AM, Vincent Li wrote: >> >> Am I miss anything? > > sorry I missed the 'range.proto 0 udp' setting in the script file, the > range setting is not in help menu, probably should update the help > menu