From patchwork Mon Dec 18 23:00:23 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: 122328 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3427504qgn; Mon, 18 Dec 2017 15:04:45 -0800 (PST) X-Google-Smtp-Source: ACJfBotSuErVsmGTQ7gyAQIKG2Nbz4a/i3T9I3N+9TBH4D5WAkwtI65LikPmxfscDZ8nAtl/loBk X-Received: by 10.55.70.77 with SMTP id t74mr2091331qka.342.1513638285647; Mon, 18 Dec 2017 15:04:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513638285; cv=none; d=google.com; s=arc-20160816; b=Q3y5WAuCxVoxadc3ZkgsMMClDOvlUsZWYzLSo0OS0R2CwkVB/yzSNFQ4OX4QhFwZN2 XCpMnswPt9f89Oy17wu6MqUMW2bdTNoLI9UusPQQMmoddlBfFY0C4R7kAXPACcQUCQIi VBSOv8ylaLae+W500LdkowfuXxNrDk5NurcBDBZc66Vllyox5JoE1bw3gowRKrbDjDvq CZpjA+aHgGGFKNNby3qjYNaHql9IIECbfaud7mjhvLlzvW+AX1HbirK/XKI/MtPKh/6H WuSTEuGs1XK8V3q+C09ZRH8M7Naotvebmpn9BjIpV5DtLSN8pWoSGe00yR8o9IdZsV61 2sFw== 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=gGBw3Uzg0lyqn0ZdLnZsbc41mV3t5CYj9yl102GYx5Y=; b=ldrfDw2YR7sHEwHCtJ2P/GPCncZ7P5bMismSlMvEXb6GirOPUf5mvElxtIVl2yN+sW fkFd+hWzYk7VxwIHicOriynrOi5BTB9l0iQZug22l36dxarXF204gwzpv1XUawOHLav/ T1eETawA+GU+ixl2Ga5c+XnCxMu3Gqty5h6pWNkpUt9Ul+DBL3tqnTpVgjr4ncYI/13D X54Y8g/uh/yOcdqUW6rDqaITTdlkB5qX0OD4skFrnpdNv7aOwo1c0b1QZajHmwQPxqDp +wMru/TuzAi9eFmLfYJGJ1ObyC71g4YlTGDOzeAh+6sPYMwvyfXR6BWxZg0YAIvf0LBe 8pdA== 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 p13si1463254qtg.334.2017.12.18.15.04.45; Mon, 18 Dec 2017 15:04:45 -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 5C73F6150E; Mon, 18 Dec 2017 23:04:45 +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_H3, RCVD_IN_MSPIKE_WL 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 2B903608BB; Mon, 18 Dec 2017 23:01:07 +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 C5261608A7; Mon, 18 Dec 2017 23:01:02 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id 65F7C607E5 for ; Mon, 18 Dec 2017 23:00:28 +0000 (UTC) Received: from mxback1g.mail.yandex.net (mxback1g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:162]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 11B4B134323D for ; Tue, 19 Dec 2017 02:00:27 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback1g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id FVKjei27M6-0QMW9XEh; Tue, 19 Dec 2017 02:00:27 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 0pSVwpoBcF-0QxSWevg; Tue, 19 Dec 2017 02:00:26 +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: Tue, 19 Dec 2017 02:00:23 +0300 Message-Id: <1513638025-25901-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513638025-25901-1-git-send-email-odpbot@yandex.ru> References: <1513638025-25901-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 342 Subject: [lng-odp] [PATCH v8 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: 947faaa98e74853237fe84fcdf7e9e07a64af10d **/ 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);