From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A8D4B952 for ; Thu, 11 Jun 2015 11:13:19 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 11 Jun 2015 02:13:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,594,1427785200"; d="scan'208";a="744822285" Received: from bricha3-mobl3.ger.corp.intel.com ([10.243.20.21]) by orsmga002.jf.intel.com with SMTP; 11 Jun 2015 02:13:16 -0700 Received: by (sSMTP sendmail emulation); Thu, 11 Jun 2015 10:13:14 +0025 Date: Thu, 11 Jun 2015 10:13:14 +0100 From: Bruce Richardson To: Stephen Hemminger Message-ID: <20150611091313.GA12580@bricha3-MOBL3> References: <1433973985-17940-1-git-send-email-stephen@networkplumber.org> <1433973985-17940-2-git-send-email-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1433973985-17940-2-git-send-email-stephen@networkplumber.org> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org, Stephen Hemminger Subject: Re: [dpdk-dev] [PATCH 1/2] ethdev: make rte_eth_dev_is_valid_port public X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 09:13:20 -0000 On Wed, Jun 10, 2015 at 03:06:24PM -0700, Stephen Hemminger wrote: > From: Stephen Hemminger > > The function rte_eth_dev_is_valid_port is good way to have all > drivers using same function and solves several hotplug related > bugs from drivers not checking attached flag. > > Signed-off-by: Stephen Hemminger Just yesterday I was working on a patch to do the same thing! Acked-by: Bruce Richardson