From patchwork Thu Dec 14 10:00:13 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: 121893 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6597759qgn; Thu, 14 Dec 2017 02:04:16 -0800 (PST) X-Google-Smtp-Source: ACJfBot6+hWPMEkThh5zJkaibz6SN4F4RXCD18UbMg5lGCys6rg8bNVMU6VrnLBn7tfVh+KJnxcs X-Received: by 10.237.59.202 with SMTP id s10mr15300206qte.294.1513245856139; Thu, 14 Dec 2017 02:04:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513245856; cv=none; d=google.com; s=arc-20160816; b=Ic0+X69g0cJMwy4m9Izgid2wqQ5402sKFpstInyH9Aith9K3u8YjkGEVFYli6Yj6ge YdNX18y4Hk7rML9Uziq8g4JPgaEnMKDQEryxhySUacwIbn3OyF3AP8K+eQuZMOLbKuU2 fqLDHGnk/apaX0W+EDuCqpzNyUtX3MH5EplhhvoEoSGEb6hEtJT64Ltp73d8W/Iv5Rr4 kmRJZgXJA/FmpwVI64MJfq9oQp3N1jPLRoRsLnxPrZt4Zr7wVizMYR6ds7QYVx2Qkw93 83Cbg+RPklHmDdkDGG77nfA8047mlzawSYBGfbmU3qHVFBnHfX1FwSPnVvDQkQKAl/In /Glw== 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=ZlaA3UCwqyn2h7tj/Q3C5dmSx4nhVq5yhUaSEqk8u+M=; b=mu2OS5VerLsOlmEM2f9JoRtlyE+45BjIZlXuDiT7bZYjqtdR8Wn1rv5VCSB8sO3uuJ h1HpTeQKM213BY82XdWsIcJgTM1t9D/kt+La1TScs3RiyC2SGizDRZO3yAcWSwULIj40 cvDZcRnrH9LTT6iVSQsppdf/f/Pe8qN1OJmfbR2qZtxGVHI5f7RdLJ4OSJUcDoBAicFC BcRsBSkQcwwOFb/YSudsZX1nakj6BT+GNpMxTiSIMCRtX8ydcql0lIIhPgetjOvRqW1T kagKaS2kLDEQqrx2edEZHiy4BzfyIgTzb2SgmKmnEdVBH+Wfl0DRoX1V4OWsgsI+bpRA OWTg== 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 v8si4049264qka.435.2017.12.14.02.04.14; Thu, 14 Dec 2017 02:04:16 -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 D1CB360922; Thu, 14 Dec 2017 10:04:14 +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 D462C60943; Thu, 14 Dec 2017 10:00:36 +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 CE9836065D; Thu, 14 Dec 2017 10:00: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 89AD56065D for ; Thu, 14 Dec 2017 10:00:18 +0000 (UTC) Received: from mxback3g.mail.yandex.net (mxback3g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:164]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 4329F510271E for ; Thu, 14 Dec 2017 13:00:17 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback3g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 0SM9yzrZ14-0Hb8KhdY; Thu, 14 Dec 2017 13:00:17 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ZXeXutjQDE-0GSSx95G; Thu, 14 Dec 2017 13:00:16 +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 13:00:13 +0300 Message-Id: <1513245615-4755-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513245615-4755-1-git-send-email-odpbot@yandex.ru> References: <1513245615-4755-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 342 Subject: [lng-odp] [PATCH v3 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: b50f165406b6897013b69e014bf29f7b75c3ca45 **/ 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);