From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] app/crypto-perf: fix incorrect operation free Date: Mon, 07 Aug 2017 14:31:30 +0200 Message-ID: <1532154.bj8skGPZnS@xps> References: <20170807031654.31581-1-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Pablo de Lara Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 6353C2E41 for ; Mon, 7 Aug 2017 14:31:33 +0200 (CEST) In-Reply-To: <20170807031654.31581-1-pablo.de.lara.guarch@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 07/08/2017 05:16, Pablo de Lara: > In crypto latency test, when some crypto operations cannot be > enqueued, they are returned to its mempool. > However, instead of freeing the operations in the array passed > to the enqueue function, the app was freeing the operations > in the array passed to the dequeue function, leading to incorrect > results. > > Fixes: 15b55dd75120 ("app/crypto-perf: return crypto ops to mempool in bulk") > > Signed-off-by: Pablo de Lara Applied, thanks