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 7761A968 for ; Mon, 19 Jun 2017 23:12:55 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id EF753209DA; Mon, 19 Jun 2017 17:12:54 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 19 Jun 2017 17:12:54 -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=VAYQz4003VRbz6J pGpo4AUvx7WZjI4pRmSBOErBKMXE=; b=O7z8/GgZ4Fjzl6ysXbRxUEpttAIoOp6 8c9zQEFe9Dil3a54dQpsQwNTKPJpRy/Q7KlZJWuzRkIKaqLOQ9S4RFhOHU0G8qeL LllcEKz29X4SbmZ9lYqDwkhdC9NBiFegKRRK83zfgZ6mZ/aYkUOEns7bLp1j4Jt0 Q37rRNcCL9tc= 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=VAYQz4003VRbz6JpGpo4AUvx7WZjI4pRmSBOErBKMXE=; b=EJ1Bw7mX re71IW2Hd97H14oIeJXKVyWOyfCqQw7eT+6b7z+n2pjmUM3God2qaRt3P7IeTW/9 vGy1c5Zz/8iQvvWzrWyRUTcbCLaiB+gFawLxM8QNAzhAOl37KjinlkLfcD9nCiPj nRybE/Pp2Chij0qocZ62IJKFq/4w7syJfSIazEwpg/GsCG+KEnIYA2jkYqrlbv+P diQXYxzq/+bfR9gNzolMBhoLNTiyC6vlDTTLu16xGNgTj1ErQRuPe3nxVfEBAPwA ud9RmX62Yov8s7SiBXD298L0Ug1UR9haUcE1Wmb7YOeC0v0n1WyfIijYys5PCyQ4 61BNQ9bH5miESw== X-ME-Sender: X-Sasl-enc: Gi0oNYVWnJMvxNpJwrRmstPoCqvGHcAcgQSzjXehvUZS 1497906774 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id A507A7E545; Mon, 19 Jun 2017 17:12:54 -0400 (EDT) From: Thomas Monjalon To: "De Lara Guarch, Pablo" Cc: dev@dpdk.org, "Wu, Jingjing" Date: Mon, 19 Jun 2017 23:12:53 +0200 Message-ID: <2741486.Oz5ccjHQup@xps> In-Reply-To: References: <20170609023044.75127-1-pablo.de.lara.guarch@intel.com> <20170615040403.78712-1-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] app/testpmd: add parameter to start forwarding TX first 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, 19 Jun 2017 21:12:55 -0000 15/06/2017 14:05, De Lara Guarch, Pablo: > > Add parameter to start forwarding sending first > > a burst of packets, which is useful when testing > > a loopback connection. > > > > This was already implemented as an internal command, > > but adding it as a parameter is interesting, as it > > allows the user to test a loopback connection without > > entering in the internal command line. > > > > Signed-off-by: Pablo de Lara > > --- > > --- a/doc/guides/testpmd_app_ug/run_app.rst > > +++ b/doc/guides/testpmd_app_ug/run_app.rst > > @@ -188,6 +188,14 @@ The commandline options are: > > > > Start forwarding on initialization. > > > > +* ``--tx-first`` > > + > > + Start forwarding, after sending a burst of packets first. > > + > > +.. Note:: > > + > > + This flag should be only used in non-interactive mode. I don't really understand the benefit of this option. Why is it better than echo start tx_first | testpmd -i ?