From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Iremonger, Bernard" Subject: Re: [PATCH v6 2/6] app/testpmd: allow detaching a port not closed Date: Fri, 19 Oct 2018 14:32:53 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260D1431F@IRSMSX107.ger.corp.intel.com> References: <20180907233929.21950-1-thomas@monjalon.net> <20181019020757.27698-1-thomas@monjalon.net> <20181019020757.27698-3-thomas@monjalon.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" , "ophirmu@mellanox.com" , "rahul.lakkireddy@chelsio.com" To: Thomas Monjalon , "Yigit, Ferruh" , "arybchenko@solarflare.com" Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id E2F911B202 for ; Fri, 19 Oct 2018 16:32:56 +0200 (CEST) In-Reply-To: <20181019020757.27698-3-thomas@monjalon.net> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Thomas Monjalon [mailto:thomas@monjalon.net] > Sent: Friday, October 19, 2018 3:08 AM > To: Yigit, Ferruh ; arybchenko@solarflare.com > Cc: dev@dpdk.org; ophirmu@mellanox.com; Iremonger, Bernard > ; rahul.lakkireddy@chelsio.com > Subject: [PATCH v6 2/6] app/testpmd: allow detaching a port not closed >=20 > The testpmd application aim is for testing; so order of operations should= not > be enforced. >=20 > There was a test to forbid detaching before closing a port. > However, it may interesting to test what happens in such case. > It is possible for a PMD to automatically close the port when detaching. >=20 > in order to avoid a crash, it is checked that the port must be stopped be= fore > detaching (as for closing). >=20 > Signed-off-by: Thomas Monjalon Acked-by: Bernard Iremonger