From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 188991BA4B for ; Thu, 10 May 2018 12:54:59 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AEDB42142B; Thu, 10 May 2018 06:54:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 10 May 2018 06:54:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=Agr50hCBC271F0GrGQ1noPd5OJ j9FUWRpmLohZ5upPk=; b=Cp1d/OcosUWN9g3J61IzBZvTq1XNuhuwijjpDqZV5H N1UmU6Zbqtn0dUO4KCsosm/LyrJj+hOOzURdIAdCis79GUm3AYtygYxuOuv0Wr5l u0fQekQD6C8KcZtt1ux5xSnpZl0XK3u7meVfItUR0VQSvFhFQLBkSJb/bsuYEHeK I= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Agr50h CBC271F0GrGQ1noPd5OJj9FUWRpmLohZ5upPk=; b=E3o0cnwZtWG8NpRYqRn6U2 QdJxVW2e1/3jCVTjNYHMd0YiHqaWVmIkqFCR7bela3OV0e/xR5fAFwPfraD+mV/q Y7vPwow7QN1u+A9Gk//0jLS2EU6lEDs8ptBcy8VU7w4eoZ7Vbl6otwINNNcRRGxC 1SKYLWEFR81kg5sWxukAIxkR6C9m+t8f+giGWBQ+FJFSHMNBtGIrw976+NyR/MSY mkEvsP0CNr1Ma4LOsIPFrR/1GRJN/ULz+CEK5H6hseNWIGKW1T/L2bjG5ycTRUHy zdeGimDUCuh8CVLXfR5yws1xZ5+eaf+WoCpo+fuoLrkp1bOIkGz04+4sFXL0EaUA == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 4443CE4EEF; Thu, 10 May 2018 06:54:58 -0400 (EDT) From: Thomas Monjalon To: Andrew Rybchenko Cc: dev@dpdk.org Date: Thu, 10 May 2018 12:54:57 +0200 Message-ID: <3910255.F1yzIlvK5u@xps> In-Reply-To: <0b071bfa-29e0-b014-1991-ef500b870a07@solarflare.com> References: <20180509094337.26112-1-thomas@monjalon.net> <20180509224313.27289-6-thomas@monjalon.net> <0b071bfa-29e0-b014-1991-ef500b870a07@solarflare.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 05/11] ethdev: add probing finish function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2018 10:54:59 -0000 10/05/2018 12:37, Andrew Rybchenko: > On 05/10/2018 01:43 AM, Thomas Monjalon wrote: > > A new hook function is added and called inside the PMDs at the end > > of the device probing: > > - in primary process, after allocating, init and config > > - in secondary process, after attaching and local init > > > > This new function is almost empty for now. > > It will be used later to add some post-initialization processing. > > > > For the PMDs calling the helpers rte_eth_dev_create() or > > rte_eth_dev_pci_generic_probe(), the hook rte_eth_dev_probing_finish() > > is called from here, and not in the PMD itself. > > > > Note that the helper rte_eth_dev_create() could be used more, > > especially for vdevs, avoiding some code duplication in PMDs. > > > > Cc: stable@dpdk.org > > Why Cc? Because other fixes in the series depend on this patch.