From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 48E0C4C9C for ; Thu, 25 Oct 2018 10:58:05 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Oct 2018 01:58:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,423,1534834800"; d="scan'208";a="85466760" Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by orsmga006.jf.intel.com with ESMTP; 25 Oct 2018 01:58:02 -0700 Received: from irsmsx107.ger.corp.intel.com ([169.254.10.56]) by IRSMSX108.ger.corp.intel.com ([169.254.11.187]) with mapi id 14.03.0319.002; Thu, 25 Oct 2018 09:58:02 +0100 From: "Iremonger, Bernard" To: Thomas Monjalon CC: "Wu, Jingjing" , "Lu, Wenzhuo" , "dev@dpdk.org" , "ophirmu@mellanox.com" , "wisamm@mellanox.com" , "Yigit, Ferruh" , "arybchenko@solarflare.com" Thread-Topic: [PATCH 5/5] app/testpmd: setup attached ports on probe event Thread-Index: AQHUa59IVW7PytvdmkexSgler8eagKUujQZAgAAypACAAOnvsA== Date: Thu, 25 Oct 2018 08:58:01 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260D1731A@IRSMSX107.ger.corp.intel.com> References: <20181024134111.26771-1-thomas@monjalon.net> <20181024134111.26771-6-thomas@monjalon.net> <8CEF83825BEC744B83065625E567D7C260D17043@IRSMSX107.ger.corp.intel.com> <1592659.ocTt40gUXr@xps> In-Reply-To: <1592659.ocTt40gUXr@xps> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2E2NTg2ZDMtNDU0Mi00OThkLTk0NWEtNjA5ZGI0NDhkYTZiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiOWg4K1RcL3ZZK0lFTU5FTVAyTDZ1NXNRNEphM0FtdnhJeWZsZzNZakV1Z2czclJMUWdaalF0MndsYVNpZTBJaloifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 5/5] app/testpmd: setup attached ports on probe event 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: Thu, 25 Oct 2018 08:58:05 -0000 Hi Thomas, > -----Original Message----- > From: Thomas Monjalon [mailto:thomas@monjalon.net] > Sent: Wednesday, October 24, 2018 8:58 PM > To: Iremonger, Bernard > Cc: Wu, Jingjing ; Lu, Wenzhuo > ; dev@dpdk.org; ophirmu@mellanox.com; > wisamm@mellanox.com; Yigit, Ferruh ; > arybchenko@solarflare.com > Subject: Re: [PATCH 5/5] app/testpmd: setup attached ports on probe event >=20 > 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). >=20 > Do you mean something like this? >=20 > testpmd> set port setup on (iterator|event) >=20 Yes. Regards, Bernard.