From patchwork Thu Dec 14 13: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: 121923 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6777795qgn; Thu, 14 Dec 2017 05:05:22 -0800 (PST) X-Google-Smtp-Source: ACJfBovnhF7cSxiDo2SUgFdVVIDrnkEVX92JIB2tTmWl/UKEHBvc4kZDnn2LLROCZ+TYzCuPTFbA X-Received: by 10.129.44.214 with SMTP id s205mr4144898yws.53.1513256722600; Thu, 14 Dec 2017 05:05:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513256722; cv=none; d=google.com; s=arc-20160816; b=B+tfwhQiOB8Y+XbvSWSuosVo/G9db0yzKYB3wkjjOIv1o21HbZGQtdxlSC3gs8BJIG 6XVR+IKNrT8xS+aQ+wdNBFdaU2bkIuvGkrgwOX/WbZjhwJ7tejP55TGiaTKs9i3whdrd 2B1Rge9NtAs7H8K+1tnWko5FuKHlb8GxKi6x73lRcXEY4M4itLyCwNBK+ZztM/la+hnd BqNqc61wB6WYYWVmDYqdScrjKSs4UtyGqC8BjEjyJ8ldz6Ekupk8PRK9T+9CS48tXY9n gyTZXsqQPc7ZbVO/GhWHJgkMMflzWweWaw1/wmg9+nV5uXFUrjSZVEvOWCruFlz46NiO 18Qw== 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=vwFp4YCOWP83dMTVLg+PTZJ1ZwOqfi1BIzo7PYqpCdA=; b=hN3Jhm6z8h3zRyY4bTLAWOB7szQytV9aRMbdK29kQtw5p/Qrnu9mqTDU1gBnea336D vPONn852KMPJPi3NggbTPaTQwF0GB1G4U+apGHpmfneT5dERh8X2L0ztSDywVZdDFhvf rRqcfiFcw8YObNXMEUoHwCotAsAqhAb5ZBfvjPkpzu+8zvMLUkCG2Lg8UDhC4i17N0so uDaSiuQ2gVFn4z5onOF6oSNqidQq3efXYFff2c49ZKvpgmAIEt3I1G3SR1z4eZPOvDBO ImhVeAiBo3CcnL/hgNaPVDRONjG3P/YPiymkwyfxNjNCp8NWOBDU3JTkgicE5x+NLO5k y2XA== 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 r7si820486ybd.791.2017.12.14.05.05.22; Thu, 14 Dec 2017 05:05:22 -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 1F41C60943; Thu, 14 Dec 2017 13:05:22 +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 12BE36094A; Thu, 14 Dec 2017 13:01:02 +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 1FCE96091D; Thu, 14 Dec 2017 13:00:22 +0000 (UTC) Received: from forward105o.mail.yandex.net (forward105o.mail.yandex.net [37.140.190.183]) by lists.linaro.org (Postfix) with ESMTPS id CA4BE60902 for ; Thu, 14 Dec 2017 13:00:19 +0000 (UTC) Received: from mxback6j.mail.yandex.net (mxback6j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10f]) by forward105o.mail.yandex.net (Yandex) with ESMTP id C2B5E4442B26 for ; Thu, 14 Dec 2017 16:00:18 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback6j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id IuJv5Ab4ub-0IHGnmLk; Thu, 14 Dec 2017 16:00:18 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id dV2vMYJlUp-0ISqEIcE; Thu, 14 Dec 2017 16: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 16:00:14 +0300 Message-Id: <1513256416-27679-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513256416-27679-1-git-send-email-odpbot@yandex.ru> References: <1513256416-27679-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 342 Subject: [lng-odp] [PATCH v5 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: e172c7b20b298b5b47c9ceb85a9c94723c45df28 **/ 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);