From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id DF4844CE4 for ; Thu, 25 Oct 2018 18:07:59 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Oct 2018 09:07:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,424,1534834800"; d="scan'208";a="100654436" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by fmsmga004.fm.intel.com with ESMTP; 25 Oct 2018 09:07:57 -0700 Received: from irsmsx107.ger.corp.intel.com ([169.254.10.56]) by IRSMSX151.ger.corp.intel.com ([169.254.4.71]) with mapi id 14.03.0319.002; Thu, 25 Oct 2018 17:07:57 +0100 From: "Iremonger, Bernard" To: Thomas Monjalon , "Wu, Jingjing" , "Lu, Wenzhuo" CC: "dev@dpdk.org" , "ophirmu@mellanox.com" , "wisamm@mellanox.com" , "Yigit, Ferruh" , "arybchenko@solarflare.com" Thread-Topic: [PATCH v2 5/5] app/testpmd: setup attached ports on probe event Thread-Index: AQHUbHUEZjO2HTUYw0O1jxHxE4K7haUwIHrg Date: Thu, 25 Oct 2018 16:07:56 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260D176C0@IRSMSX107.ger.corp.intel.com> References: <20181024134111.26771-1-thomas@monjalon.net> <20181025151117.17132-1-thomas@monjalon.net> <20181025151117.17132-6-thomas@monjalon.net> In-Reply-To: <20181025151117.17132-6-thomas@monjalon.net> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNmE2ZTFiMjYtMzBkOS00MGQxLTg0YWEtM2JkMTNlYmUxNDQxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiT2paYjg3NnNBNVYxRlwvTnNIa1Fib3ZackpsMnN2VENNd3o1RkNMQUhDN0tETmswY3hOUFZnMmZTSldUUDNCR0UifQ== 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 v2 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 16:08:00 -0000 > -----Original Message----- > From: Thomas Monjalon [mailto:thomas@monjalon.net] > Sent: Thursday, October 25, 2018 4:11 PM > To: Iremonger, Bernard ; Wu, Jingjing > ; Lu, Wenzhuo > Cc: dev@dpdk.org; ophirmu@mellanox.com; wisamm@mellanox.com; Yigit, > Ferruh ; arybchenko@solarflare.com > Subject: [PATCH v2 5/5] app/testpmd: setup attached ports on probe event >=20 > After probing is done, each new port must be setup. > The new ports are currently guessed by iterating on ports matching the de= vargs > string used for probing. >=20 > When probing a port, it is possible that one more port probing get trigge= red (e.g. > PF is automatically probed when probing a VF representor). Such automatic > probing will be caught only on event. >=20 > The iterator loop may be replaced by a call from the event callback. > In order to be able to test both modes, a command is added to choose betw= een > iterator and event modes. >=20 > Signed-off-by: Thomas Monjalon Acked-by: Bernard Iremonger