From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/ena: get device info statically Date: Mon, 18 Feb 2019 16:34:09 +0000 Message-ID: <2e22055e-ce9d-bfab-837b-39ee4ac4a90f@intel.com> References: <20190215083639.1196-1-mk@semihalf.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, rk@semihalf.com To: Michal Krawczyk , gtzalik@amazon.com, mw@semihalf.com, matua@amazon.com Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 335691B131 for ; Mon, 18 Feb 2019 17:34:13 +0100 (CET) In-Reply-To: <20190215083639.1196-1-mk@semihalf.com> 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 2/15/2019 8:36 AM, Michal Krawczyk wrote: > Whenever the app is calling rte_eth_dev_info_get(), it shouldn't use the > admin command. It was causing problems, if it was called from the > secondary process - the main process was crashing, and the secondary app > wasn't getting any result, as the admin request couldn't be processed by > the process which was requesting the data. > > To fix that, the data is being written to the adapter structure during > device initialization routine. > > Signed-off-by: Michal Krawczyk Applied to dpdk-next-net/master, thanks.