From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v3 4/4] app/testpmd: use port sibling iterator in device cleanup Date: Wed, 3 Apr 2019 00:43:13 +0100 Message-ID: References: <20181130002716.27325-1-thomas@monjalon.net> <20190401022700.1570-1-thomas@monjalon.net> <20190401022700.1570-5-thomas@monjalon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Thomas Monjalon , gaetan.rivet@6wind.com, Wenzhuo Lu , Jingjing Wu , Bernard Iremonger Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 288D07CCA for ; Wed, 3 Apr 2019 01:43:18 +0200 (CEST) In-Reply-To: <20190401022700.1570-5-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" On 4/1/2019 3:27 AM, Thomas Monjalon wrote: > When removing a rte_device on a port-based request, > all the sibling ports must be marked as closed. > The iterator loop can be simplified by using the dedicated macro. > > Signed-off-by: Thomas Monjalon Reviewed-by: Ferruh Yigit