From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] event/sw: fix credit return on invalid queue id Date: Thu, 20 Apr 2017 00:27:24 +0200 Message-ID: <3221074.Fui6N1Oart@xps> References: <1492509520-31943-1-git-send-email-harry.van.haaren@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Hunt, David" To: Harry van Haaren 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) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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