From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 5/5] app/testpmd: setup attached ports on probe event Date: Wed, 24 Oct 2018 21:57:48 +0200 Message-ID: <1592659.ocTt40gUXr@xps> References: <20181024134111.26771-1-thomas@monjalon.net> <20181024134111.26771-6-thomas@monjalon.net> <8CEF83825BEC744B83065625E567D7C260D17043@IRSMSX107.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: "Wu, Jingjing" , "Lu, Wenzhuo" , "dev@dpdk.org" , "ophirmu@mellanox.com" , "wisamm@mellanox.com" , "Yigit, Ferruh" , "arybchenko@solarflare.com" To: "Iremonger, Bernard" Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id AF63F44BE for ; Wed, 24 Oct 2018 21:57:47 +0200 (CEST) In-Reply-To: <8CEF83825BEC744B83065625E567D7C260D17043@IRSMSX107.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 24/10/2018 18:13, Iremonger, Bernard: > From: Thomas Monjalon [mailto:thomas@monjalon.net] > > +set port setup on > > +~~~~~~~~~~~~~~~~~ > > + > > +Select how to retrieve new ports created after "port attach" command. > > + > > +For each new port, a setup is done. > > +It will find the probed ports via RTE_ETH_FOREACH_MATCHING_DEV loop in > > +iterator mode, or via RTE_ETH_EVENT_NEW in event mode. > > + > > It would be useful to add an example command here (similar to other commands). Do you mean something like this? testpmd> set port setup on (iterator|event)