From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id ACB5058CB for ; Wed, 27 Mar 2019 19:01:13 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1A1C821347; Wed, 27 Mar 2019 14:01:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 27 Mar 2019 14:01:13 -0400 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=mesmtp; bh=17oetI2GMCghzKKKdxNq5yTg6/7kUaGk7frPcSIsMZ0=; b=h6yiT98jCc+v vKNtxZM/7t0QwOkqXhTMMJd4goZ1DTtRJYyTw9L9sRa8AxDsMih5/RJVtKBPC7Bd 2OnWL6EMcoHxCi8VsrR1NflOD4uH75JH5apTKSaPriLyopwRcpasaO1zFm617rtj XXnMqDJHjpQirtVzw+GRTcQ0EokOYuc= 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=fm2; bh=17oetI2GMCghzKKKdxNq5yTg6/7kUaGk7frPcSIsM Z0=; b=KheSaKwh11/7FIpT3FjfGkqNYYgEjXqBPKHNr6v7MHtxnswdXhikAGFlR qqps4TR6Ye/vIDmK+kyrnePoQxIbdn2VXXiAcnABswSJgRANLbwyDaMmblZy8aux pFq/9NDKdMT70wAXJ1eKa5Qc2XFNM9Ckmb1FRMfZFPP7HacSgTDCu/c+UedeJ6bs gMBp2nGasgqLUE0p/7MkjgSIa2y+9LHotEbq2pnkkH7Tx9nlwPTPBptXw6+/dWlv /nsyCepskeshaLtV1/wDg0zLexQrfSSQJprIGLUprRrzD7rjGmKBbnu2l0/BpYf2 G909PjgpDyMLD99CDNIkxLNoq/HGQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkedvgddutddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt 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 4DA4BE4B66; Wed, 27 Mar 2019 14:01:11 -0400 (EDT) From: Thomas Monjalon To: Jakub Grajciar Cc: dev@dpdk.org Date: Wed, 27 Mar 2019 19:01:09 +0100 Message-ID: <2461195.sM7h6ISGy9@xps> In-Reply-To: <20190322115236.4189-1-jgrajcia@cisco.com> References: <20190321100832.6180-1-jgrajcia@cisco.com> <20190322115236.4189-1-jgrajcia@cisco.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v12] eal_interrupts: add option for pending callback unregister 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: Wed, 27 Mar 2019 18:01:13 -0000 22/03/2019 12:52, Jakub Grajciar: > use case: if callback is used to receive message form socket, > and the message received is disconnect/error, this callback needs > to be unregistered, but cannot because it is still active. > > With this patch it is possible to mark the callback to be > unregistered once the interrupt process is done with this > interrupt source. > > Signed-off-by: Jakub Grajciar Applied, thanks From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id CE8B9A05D3 for ; Wed, 27 Mar 2019 19:01:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3DE8258EC; Wed, 27 Mar 2019 19:01:14 +0100 (CET) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id ACB5058CB for ; Wed, 27 Mar 2019 19:01:13 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1A1C821347; Wed, 27 Mar 2019 14:01:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 27 Mar 2019 14:01:13 -0400 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=mesmtp; bh=17oetI2GMCghzKKKdxNq5yTg6/7kUaGk7frPcSIsMZ0=; b=h6yiT98jCc+v vKNtxZM/7t0QwOkqXhTMMJd4goZ1DTtRJYyTw9L9sRa8AxDsMih5/RJVtKBPC7Bd 2OnWL6EMcoHxCi8VsrR1NflOD4uH75JH5apTKSaPriLyopwRcpasaO1zFm617rtj XXnMqDJHjpQirtVzw+GRTcQ0EokOYuc= 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=fm2; bh=17oetI2GMCghzKKKdxNq5yTg6/7kUaGk7frPcSIsM Z0=; b=KheSaKwh11/7FIpT3FjfGkqNYYgEjXqBPKHNr6v7MHtxnswdXhikAGFlR qqps4TR6Ye/vIDmK+kyrnePoQxIbdn2VXXiAcnABswSJgRANLbwyDaMmblZy8aux pFq/9NDKdMT70wAXJ1eKa5Qc2XFNM9Ckmb1FRMfZFPP7HacSgTDCu/c+UedeJ6bs gMBp2nGasgqLUE0p/7MkjgSIa2y+9LHotEbq2pnkkH7Tx9nlwPTPBptXw6+/dWlv /nsyCepskeshaLtV1/wDg0zLexQrfSSQJprIGLUprRrzD7rjGmKBbnu2l0/BpYf2 G909PjgpDyMLD99CDNIkxLNoq/HGQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkedvgddutddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt 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 4DA4BE4B66; Wed, 27 Mar 2019 14:01:11 -0400 (EDT) From: Thomas Monjalon To: Jakub Grajciar Cc: dev@dpdk.org Date: Wed, 27 Mar 2019 19:01:09 +0100 Message-ID: <2461195.sM7h6ISGy9@xps> In-Reply-To: <20190322115236.4189-1-jgrajcia@cisco.com> References: <20190321100832.6180-1-jgrajcia@cisco.com> <20190322115236.4189-1-jgrajcia@cisco.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v12] eal_interrupts: add option for pending callback unregister 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190327180109.LGNbhZbIZSZHGIPgxl23CiTlU5cGcfINHhb4kdrKce4@z> 22/03/2019 12:52, Jakub Grajciar: > use case: if callback is used to receive message form socket, > and the message received is disconnect/error, this callback needs > to be unregistered, but cannot because it is still active. > > With this patch it is possible to mark the callback to be > unregistered once the interrupt process is done with this > interrupt source. > > Signed-off-by: Jakub Grajciar Applied, thanks