From patchwork Thu Dec 14 11:00:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 121907 Delivered-To: patch@linaro.org Received: by 10.80.152.193 with SMTP id j59csp6559470edb; Thu, 14 Dec 2017 03:08:48 -0800 (PST) X-Google-Smtp-Source: ACJfBot1M/0Y+Egpo17InmxIthaPOps2ZWla8UbnWyPEQJ0RMFYcfjBXprxLIriKQrlUd0dcD3+A X-Received: by 10.200.18.9 with SMTP id x9mr15849671qti.211.1513249728387; Thu, 14 Dec 2017 03:08:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513249728; cv=none; d=google.com; s=arc-20160816; b=efDuyjmxZvlIHY/VDiuG1N/ZPSB5lNPQJUGoXSPg6lk66ibOWvK1TQM6v4vreNdPmn 66aSGc+bZyJmflQEqY1712T6pKvqdrq1721YFI0BkiRtzYmQGARFefduwS5LZ7VZ4+Db lvUInZpP3RH7AKpxy65vl43ZR/SKqsIS/+qwHg3ZL9rIDiEIEHT9HwXsyvUKqRvyByEl 2xsTfcxHNpabrXX2alLQcc2vTYeu/r/XN3D8iOy+F9MwUaY1J574uy6Yfj2o+C47BQ2S 7lOro3ax+twTtCp4zZ+a1j1BZk46fnE+C0jWpW/FulRihGUTtckAvj8UN56Puyxu93AS MRPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=iSKcOM/Kzk0kW0m06G/jTr1mTh81pIpnZwTBQz6e7sk=; b=AqMVfdqadjdVlsN9HON31EHr2O8Wc11AunvRJ4acqJQL1cTqBCjlFv7myFD1h4l054 Tg8vZfEzxCmYU6E6qKkpaUJ829D+1vLKPu3U2EqeD7xU2EBnUYDpNwMvDUQWvSZBi38x nnCbPVtgZ0s02hZbP9zj5dXZ085kOdmsA1d7vnf96dQieFPsIeDbgRGkV8UKpLzTecTY vwF0aJUtlwSRn7oS4v79/AznNbFNcTIdS5mzzAsXIi6maHUZN37Y6hiilYkWysZsVRey Aq2TXc05l5SoxV5wsfUqF2aAnpdGv6O5U2o+rXP8jBNFeH4naWt+fcKU8Bqc+y5y82V6 PXCg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id j4si3043378qte.359.2017.12.14.03.08.48; Thu, 14 Dec 2017 03:08:48 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 1AC9160862; Thu, 14 Dec 2017 11:08:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id BBABE60970; Thu, 14 Dec 2017 11:01:34 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id A3C9860916; Thu, 14 Dec 2017 11:01:24 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 5D3146084F for ; Thu, 14 Dec 2017 11:00:26 +0000 (UTC) Received: from mxback8g.mail.yandex.net (mxback8g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:169]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 9FF9D5104C57 for ; Thu, 14 Dec 2017 14:00:18 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback8g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 9Dxsuusa1n-0ItO4aO1; Thu, 14 Dec 2017 14:00:18 +0300 Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 2d939Es19f-0ItiT1lj; Thu, 14 Dec 2017 14:00:18 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 14 Dec 2017 14:00:14 +0300 Message-Id: <1513249216-2411-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513249216-2411-1-git-send-email-odpbot@yandex.ru> References: <1513249216-2411-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 342 Subject: [lng-odp] [PATCH v4 2/4] performance: destroy out queue on exit X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 342 (lumag:openssl-ctx) ** https://github.com/Linaro/odp/pull/342 ** Patch: https://github.com/Linaro/odp/pull/342.patch ** Base sha: 6b5cdc77eb9759a2349b10372a964648559bc92c ** Merge commit sha: 3f12a06ef07bd4cf8b6a4d8350ba06e75299b8f6 **/ test/performance/odp_crypto.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/performance/odp_crypto.c b/test/performance/odp_crypto.c index 423be0956..b2625b3ca 100644 --- a/test/performance/odp_crypto.c +++ b/test/performance/odp_crypto.c @@ -904,6 +904,11 @@ int main(int argc, char *argv[]) } } + if (out_queue != ODP_QUEUE_INVALID && odp_queue_destroy(out_queue)) { + app_err("Error: queue destroy\n"); + exit(EXIT_FAILURE); + } + if (odp_pool_destroy(pool)) { app_err("Error: pool destroy\n"); exit(EXIT_FAILURE);