From patchwork Wed Feb 25 11:14:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taras Kondratiuk X-Patchwork-Id: 45037 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f198.google.com (mail-we0-f198.google.com [74.125.82.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4EE6920502 for ; Wed, 25 Feb 2015 11:14:33 +0000 (UTC) Received: by wesq59 with SMTP id q59sf2327696wes.2 for ; Wed, 25 Feb 2015 03:14:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=j1h53iTmzsN38Z5m7tnkzB/M9u59Nxr46W6V5Y/mYDE=; b=ju0WOIc/Iaz1iSoAI8e3Qte9dGKicmhlH3B6v6Uv9+fMwfbYv4RYkhTqbSeHs/E6KY tzt9UMspshAy67t1Wl//h8TXfTneTR6pLdanN7bN242EPOJU/Uzg07q90Ds9AKbuNpkZ bh9m7zL03zyF+wO73sGPzXkHQ5H+ppstCkqLgxlbq+8SyCGgUJrtuj+v7RtC0P1kyPmG ZP0kN1p0ikhU4HE8HMrKNq0nQshHVVVRWyf1NrSsmFcBEMTS2d1vLR7MnGQScWN1qjxG +9TaN5CaVfMwHwzPOlV3Quq1MrITMXMn7RLSn9Rt48UqK6zuDGDlZedmFMsq6K9UIFol m87g== X-Gm-Message-State: ALoCoQlSPPZDEMvi+hYi5KiADDGIXpzQWqkH4xWaxoSvLoryTTDcgJSam2r2q3IcG/aY0bfn0rEL X-Received: by 10.194.201.10 with SMTP id jw10mr389985wjc.3.1424862872493; Wed, 25 Feb 2015 03:14:32 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.9 with SMTP id r9ls734359lae.75.gmail; Wed, 25 Feb 2015 03:14:32 -0800 (PST) X-Received: by 10.152.28.37 with SMTP id y5mr2298693lag.55.1424862872327; Wed, 25 Feb 2015 03:14:32 -0800 (PST) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id r2si15757967lar.126.2015.02.25.03.14.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 03:14:32 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by lbdu10 with SMTP id u10so3069838lbd.7 for ; Wed, 25 Feb 2015 03:14:32 -0800 (PST) X-Received: by 10.152.43.51 with SMTP id t19mr2211283lal.73.1424862872228; Wed, 25 Feb 2015 03:14:32 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp2546833lbj; Wed, 25 Feb 2015 03:14:31 -0800 (PST) X-Received: by 10.140.232.3 with SMTP id d3mr5617211qhc.82.1424862870972; Wed, 25 Feb 2015 03:14:30 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id fz1si41980759qcb.37.2015.02.25.03.14.29 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 25 Feb 2015 03:14:30 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YQZvA-0003Ew-5T; Wed, 25 Feb 2015 11:14:28 +0000 Received: from mail-la0-f49.google.com ([209.85.215.49]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YQZv0-0003EP-8U for lng-odp@lists.linaro.org; Wed, 25 Feb 2015 11:14:18 +0000 Received: by labhs14 with SMTP id hs14so3108185lab.4 for ; Wed, 25 Feb 2015 03:14:12 -0800 (PST) X-Received: by 10.152.43.228 with SMTP id z4mr2180751lal.111.1424862851791; Wed, 25 Feb 2015 03:14:11 -0800 (PST) Received: from localhost.localdomain ([80.77.38.170]) by mx.google.com with ESMTPSA id uf3sm8422201lbc.44.2015.02.25.03.14.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 03:14:10 -0800 (PST) From: Taras Kondratiuk To: lng-odp@lists.linaro.org Date: Wed, 25 Feb 2015 13:14:03 +0200 Message-Id: <1424862845-18733-2-git-send-email-taras.kondratiuk@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424862845-18733-1-git-send-email-taras.kondratiuk@linaro.org> References: <1424862845-18733-1-git-send-email-taras.kondratiuk@linaro.org> X-Topics: crypto patch Subject: [lng-odp] [PATCH 1/3] validation: crypto: don't create completion pool X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: taras.kondratiuk@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 In a current API version crypto completions are allocated by implementation. So remove unused pool. Signed-off-by: Taras Kondratiuk --- test/validation/odp_crypto.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/test/validation/odp_crypto.c b/test/validation/odp_crypto.c index b109a75..fbe5dbb 100644 --- a/test/validation/odp_crypto.c +++ b/test/validation/odp_crypto.c @@ -48,17 +48,5 @@ int tests_global_init(void) return -1; } - params.buf.size = SHM_COMPL_POOL_BUF_SIZE; - params.buf.align = 0; - params.buf.num = SHM_COMPL_POOL_SIZE/SHM_COMPL_POOL_BUF_SIZE; - params.type = ODP_POOL_BUFFER; - - pool = odp_pool_create("compl_pool", ODP_SHM_NULL, ¶ms); - - if (ODP_POOL_INVALID == pool) { - fprintf(stderr, "Completion pool creation failed.\n"); - return -1; - } - return 0; }