From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 218122A62 for ; Mon, 1 May 2017 16:08:52 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AA21920726; Mon, 1 May 2017 10:08:51 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 01 May 2017 10:08:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=NtjHMolX4gHwQZk 5rJK2sYJpWSzJVLBA1l2U7zYTZZk=; b=Evd9yh7tl05Uj6OJg7V750p3Jx5dqyJ 8M4aAS2+qrqklgVuHKZjWa5L9oFRUTxTID6X2MvEEABDI/k/MB+lhBJsJS+iFKoC nN2pBJ9PrBhfTiFowkrqk/xBbM3fE6zckR0eRkzfB1eDPpeOwPGaGTkhRFGjQLbG nMvWSrwrTX7Y= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=NtjHMolX4gHwQZk5rJK2sYJpWSzJVLBA1l2U7zYTZZk=; b=KxwxlMcl D+zOSJA9OBxF5/wPcxwyV3mUyoKAzyG43WeigMI8wipohou14XYaUeyIzuFQBWEl 7qX8UTfpcSC+89BnRvLmDksLzVWiu9GlEvaTfO3czkG12LgB46JVQFg7r4zfdU+t 964oUC84VpNBLw8vsDgTzFASLxqM1thKbOJxuXT9VBCt3RLOtRPBvBf3wX7hC19s uUlyuGRq2I14IVzMwVwkK9nmTRRGFI4OPS+VapwUaZ67KpBolY00jwtyvlHSusIc vY8kuv6cJK8mpwcVQwqra19UhpCNrVDlrBaYZVCjSBkATh3xEZa2fVJj/BeFUZ3S Ct7rLx0gsJJ0xw== X-ME-Sender: X-Sasl-enc: vTF0hbg+fP5tqn57ru1RZ+i8t5stc9FwNnLCFL9dIqxX 1493647730 Received: from xps.localnet (245.114.118.80.rev.sfr.net [80.118.114.245]) by mail.messagingengine.com (Postfix) with ESMTPA id E803F241ED; Mon, 1 May 2017 10:08:50 -0400 (EDT) From: Thomas Monjalon To: Allain Legacy Cc: dev@dpdk.org, jingjing.wu@intel.com Date: Mon, 01 May 2017 16:08:48 +0200 Message-ID: <3653279.UaGtptcWdd@xps> In-Reply-To: <20170331191320.143047-1-allain.legacy@windriver.com> References: <20170331191320.143047-1-allain.legacy@windriver.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 0/2] testpmd load cmdline commands from file X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 May 2017 14:08:52 -0000 31/03/2017 21:13, Allain Legacy: > Enhancing test-pmd to be able to load CLI commands from file both at > runtime and at startup. Usually the number of commands to run is small > enough that a simple cut-n-paste does the trick, but while testing the flow > API it was necessary to load several hundred commands and cut-n-paste could > not keep up. > > I started with adding support to load the commands at startup > (--cmdline-file=/home/ubuntu/somefile.txt), but then realized that I needed > to remove/re-add commands at runtime so I added CLI commands to take care > of that aspect as well ("testpmd> load /home/ubuntu/somefile.txt") > > I thought of removing the startup command support since the same could be > accomplished by using the new "load" command once the process starts up, > but then I realized that it may be useful for someone using non-interactive > mode. > > I am open to the idea of squashing both commits together if necessary. > > > Allain Legacy (2): > app/testpmd: load cmdline commands on startup > app/testpmd: load cmdline commands at runtime Applied, thanks