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 2751868C5 for ; Thu, 20 Apr 2017 00:27:26 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 8C67C20C1F; Wed, 19 Apr 2017 18:27:25 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 19 Apr 2017 18:27:25 -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:x-sasl-enc; s=mesmtp; bh=KJjy8n+riweTmYp RLe6dgvuemOWjjd1xqBjaz1C/Or0=; b=mg0dKdiPTzhqVlPoqv2XzO7UHqh1GWW cQ6sXr9nHH3mIsKCG1u1cP8qpeacp2kqgUAt8K3VBcREkLYz8P+q6KQBHI3c6tgZ p/GZ6sHQ3yCN9DmvaHpgf8a7vBb77aUWgRvKYU5OEsCKOC1B0wSfKADRKBG2muwX meFSh0bUVCrM= 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:x-sasl-enc; s= fm1; bh=KJjy8n+riweTmYpRLe6dgvuemOWjjd1xqBjaz1C/Or0=; b=oJzO9Otb RcV2H+5mYvzcKCDYqGOwzuQB/5o+EoLmQ5QAC/uLnUOTKBOYkf+NKF1p96nUqh03 llWeJL/xZRPtDEHW9pw41Y4I4ZliEUP2gKtppQQ2R3ul18wa/sO9/mnQ/lu3W769 THkbqxzJ9kAZIWh/FNhW20Peax67k8nQllhe+3jR4Oi4ga3XSiSVU7C2sqsDLSwF idJeaG2HW0P/x2unb6Xjho9/1OjqjQrrNj7UM5CZRoRU5DRyxnvs2sxLU+/ZfoRH rioxnXbYigcsqyyuANMeyCYT+FQ4Y8ICGI2sAAaSweqpoGtKXHKUgtDfnVAy3qQq 3ablqyK8E+wr0g== X-ME-Sender: X-Sasl-enc: lQKgO9pl/KkEl2MOWSgKhoPkvJ+DvWPT/86HE5KRMw8L 1492640845 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 3DA907E2B0; Wed, 19 Apr 2017 18:27:25 -0400 (EDT) From: Thomas Monjalon To: Harry van Haaren Cc: dev@dpdk.org, "Hunt, David" Date: Thu, 20 Apr 2017 00:27:24 +0200 Message-ID: <3221074.Fui6N1Oart@xps> In-Reply-To: References: <1492509520-31943-1-git-send-email-harry.van.haaren@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] event/sw: fix credit return on invalid queue id 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, 19 Apr 2017 22:27:26 -0000 18/04/2017 12:11, Hunt, David: > On 18/4/2017 10:58 AM, Harry van Haaren wrote: > > This patch returns a credit when an rte_event is > > enqueued with an invalid queue_id. Previously a > > credit was leaked from the system. > > > > Note that the eventdev instance does not attempt > > to free any resources that the rte_event owns. As > > a result, resources owned by the rte_event are leaked. > > Eg. if the rte_event represents an rte_mbuf, the mbuf > > will not be freed, and causes a leak from the mempool. > > > > Fixes: 656af9180014 ("event/sw: add worker core functions") > > > > Signed-off-by: Harry van Haaren > > Acked-by: David Hunt Applied, thanks