From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] ethdev: add notifications for probing and removal Date: Fri, 22 Dec 2017 09:39:06 +0100 Message-ID: <2461676.zTbRWfdldq@xps> References: <20171128221302.15400-1-thomas@monjalon.net> <81010f97-d7fa-66da-1c8b-c4b9df0d32c9@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, matan@mellanox.com To: Ferruh Yigit Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 55E821B35C for ; Fri, 22 Dec 2017 09:39:12 +0100 (CET) In-Reply-To: <81010f97-d7fa-66da-1c8b-c4b9df0d32c9@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 22/12/2017 04:17, Ferruh Yigit: > On 11/28/2017 2:13 PM, Thomas Monjalon wrote: > > When a PMD finishes probing, it creates the new port by calling > > the function rte_eth_dev_allocate(). > > A notification of the new port is sent there to the upper layer. > > > > When a PMD finishes removal of a port, it calls the function > > rte_eth_dev_release_port(). > > A notification of the destroyed port is sent there to the upper layer. > > > > Signed-off-by: Thomas Monjalon > > Reviewed-by: Ferruh Yigit > > > --- > > > > This patch depends on: > > - ethdev: remove useless parameter in callback process > > - ethdev: free a port by a dedicated API > > What do you think pulling that patch from port ownership patchset, which is > still under discussion, to this one? Is it required for port ownership one? It can be used with port ownership, but they are two separate things.