From patchwork Sat Dec 16 03:01: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: 122157 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp264450qgn; Fri, 15 Dec 2017 19:05:29 -0800 (PST) X-Google-Smtp-Source: ACJfBovGpyLuOM7lZQG6LKW3u0G6B5LeBEYIpUtfFvsTWPL5R7IVbX33CNJNJJLA/rIpfT/BrSaf X-Received: by 10.200.23.245 with SMTP id r50mr25625154qtk.158.1513393528980; Fri, 15 Dec 2017 19:05:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513393528; cv=none; d=google.com; s=arc-20160816; b=kuqHfEO1DzbwJ84o23MZr7ohzEYhYbR6hUvsZd8wMeD+8QkPKYLNHHHrLqehGC2VFi sgb5wNoBt4ndmmQ64kUQZAHgPcmq8uhK7jttw/ZdoikhVsWhIIMPqpwaLaz5nTZkXP4U 7rGjW9iw4qcOrAzkEqgdayTHlLx07Ne5WEcjz3ulEWTia0VOTdyKjaBeegAqeKL5QsYi gO3gOm0IHP3HdcjY8YhhRIxIMhg6CwIRohBKwIqEIevjr4yXlxexH1+BgY0Y9i8G9TwW MwQ8Pt2JrNQklnPEOKy5Il/cjYqZRCC3ZcPKT8MAmyq0KE7iBiWpErVE9/AKmDFsEemi cMvQ== 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=sWGftN9KjH02+sVWyN2UHF5aQ3zu26KfZkMpu9ZgLnQ=; b=KR4pOCL1+jWFOf4QznLSHftL/OEfSnqWrDQgchhdZcQoHdewhRNdPSgaO6+P4LaygV GNAV3y9uK2bmOSSd9G5KTeCAbByo7j90Hhx/qqDCS2ZQoJ72zchtqx9hW7zTs+qD5r26 XhMIDOOnAJxzFAxRyD+mN2yPOHthRaLBf5PS8rKYtuUdwB6MaayWuEtKOLlsSG2utUL2 nukC/rf+7eWI4OLRpYQzpXsXULeFBK0EtODP5IAD7G5aQ05VNSo1UV5JnsTEQSFJ0gfw AP3FfpM4oHAM1WLO9t1m9WdCZPlXXVyCJkirxg+RubqrGUcpa2eDpvHMMDhzKqH+mU8e MDdQ== 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 f51si4837374qtc.30.2017.12.15.19.05.28; Fri, 15 Dec 2017 19:05:28 -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 893146151A; Sat, 16 Dec 2017 03:05:28 +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 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 CCA6E614E2; Sat, 16 Dec 2017 03:02:59 +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 AA9A36150C; Sat, 16 Dec 2017 03:02:56 +0000 (UTC) Received: from forward104o.mail.yandex.net (forward104o.mail.yandex.net [37.140.190.179]) by lists.linaro.org (Postfix) with ESMTPS id 88B38614E2 for ; Sat, 16 Dec 2017 03:01:56 +0000 (UTC) Received: from mxback2o.mail.yandex.net (mxback2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1c]) by forward104o.mail.yandex.net (Yandex) with ESMTP id 1FA5B700F63 for ; Sat, 16 Dec 2017 06:01:52 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback2o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 4hmJstIoCE-1pGOJB3K; Sat, 16 Dec 2017 06:01:52 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id cgWfLq0YwF-1jGCTPmI; Sat, 16 Dec 2017 06:01:45 +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: Sat, 16 Dec 2017 06:01:13 +0300 Message-Id: <1513393275-29928-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513393275-29928-1-git-send-email-odpbot@yandex.ru> References: <1513393275-29928-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 342 Subject: [lng-odp] [PATCH v6 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: 4efcbed0936263184a699b1bedcf9e0bf15c5f73 **/ 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);