From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/mlx5: only register memory callback when probing a device Date: Wed, 30 May 2018 17:02:41 +0100 Message-ID: References: <20180530144253.8935-1-david.marchand@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com, yskoh@mellanox.com To: David Marchand , dev@dpdk.org Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 0C3D0DE0 for ; Wed, 30 May 2018 18:03:20 +0200 (CEST) In-Reply-To: <20180530144253.8935-1-david.marchand@6wind.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 5/30/2018 3:42 PM, David Marchand wrote: > The callback should be invoked only for memory that has been registered > in a device, hence, no need to track cleanup events if no device is > present. > > Bugzilla-ID: 56 > Fixes: 974f1e7ef146 ("net/mlx5: add new memory region support") > > Signed-off-by: David Marchand Tested-by: Ferruh Yigit (Reproduced using the suggested tespmd update in Bug 56, verified this patch fixes it.)