From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 647E9A0A03; Sun, 17 Jan 2021 22:26:34 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C7C35140D06; Sun, 17 Jan 2021 22:26:33 +0100 (CET) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 22772140D02 for ; Sun, 17 Jan 2021 22:26:33 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 5C04A5C00B3; Sun, 17 Jan 2021 16:26:32 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 17 Jan 2021 16:26:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm3; bh= 3W6S50vqVoBMztxbb8b221x24X6FLv6V4KsCZ45YA9o=; b=t9BQCSK4fkWh31Qs 63ZpQ2p3ddpjKs50K84ZKDhTUIFfigNI/+DqvfBXXWhpCBAJDcd2GD8YNuVmRJg+ nEY15+qfeJDmMUVN0Fjt+aFwE59JiJpbpSkYuaTc4Z91kWtkBSpqVYyZT2yyu4Jz TWPIhluwMC+rxXo+teQSMCL/DjbAbP1WIxGvox6Z7Ms/qboMXu1Js6SMorch88C0 yC2XUlraa6Fj/wz9BcWb9rLvc7lB1ues2kaDQ4OGN2Rq0AA+zbJJhqBNZ1gns17/ 7n92q9i3le8ZZqyQ7gxpZ4MpytoN+lyBmsEeiX8gUejcdjKaIbHemjBPLwCxpRYz 3bI2og== 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=3W6S50vqVoBMztxbb8b221x24X6FLv6V4KsCZ45YA 9o=; b=AL2mRdtocxk8TWdtKWbDb7CRTnS+bshv+hDMF/02RGz8Njx9hbw6Ef6wU fVpG2DpUOi80QJ/uUsm7cv9D+Cg1K5HBZdmyfkgEOrd9JNK7YVyHoS2p3Cor2TZy cKexO+OAoMIOQkkorULMPFHgW8muVBR95ZMLv0bDkEs0pRu/hZtRB6SpEFXRwbp7 fzlDZ5z4IpVvL3ToDqp4vEtizyTHt2upLFL96x5dDTaa6wGGgMdPHfS2IN2gczcI o8hUlQvRDsXqsWBmp4Q9gfcf4/jt8kGs/MZOeMCiYB9q03QoFwmBPGo+eW/tmIoI rWq3/0MbvBa2rurssYPvzAy2qI5iQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrtdeigdduhedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 7818E1080057; Sun, 17 Jan 2021 16:26:31 -0500 (EST) From: Thomas Monjalon To: Long Li Cc: Stephen Hemminger , dev@dpdk.org, Long Li Date: Sun, 17 Jan 2021 22:26:28 +0100 Message-ID: <5841686.b7rBgTeVtk@thomas> In-Reply-To: <1608586356-20046-1-git-send-email-longli@linuxonhyperv.com> References: <1606809383-26660-1-git-send-email-longli@linuxonhyperv.com> <1608586356-20046-1-git-send-email-longli@linuxonhyperv.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 1/2] eal/hotplug: allow monitor to be setup by multiple places X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 21/12/2020 22:32, Long Li: > From: Long Li > > In some cases, a device or infrastructure may want to enable hotplug > but application may also try and start hotplug as well. Therefore > change the monitor_started from a boolean into a reference count. > > Signed-off-by: Long Li Series applied, thanks.