From patchwork Wed Jun 17 21:51:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 49992 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9FBDF228FF for ; Wed, 17 Jun 2015 21:53:30 +0000 (UTC) Received: by wguu7 with SMTP id u7sf309402wgu.0 for ; Wed, 17 Jun 2015 14:53:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:cc: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=4hs0/A/E6UyMxmuQSLfuK3tiG/eM0k0Qfg8vDzXomwE=; b=BZnT1nFiBZa5wNbCaLqEHg91UEEmdps7ykr0IUH5SViC63UH/EEXy/PXlbQkKQKL4A AIAFh6COKZnFYKN4q1sgPJD7IHXI8+QImf1s5/+e3cdKmVayQrU43rtq3f65nfFbjAeE od8cv4rwFcnIkSX4C1eI8Lztm6gRkN+cSuiYqMhrbzur2Rvm/GYvzGk1Ud+m+2LHykBV t5SkiSSCUJuk7zpkPRDv2MBtUUfTLTqhg1p0mPrMDjzsy/D7OuQLndE9njRR5Lv1qlT1 JxcStZowaLsYO3yDnM78qZu9YKu9+ZjxmcXTMAUvPGveb/kLDcDpw9CRmToQmwT2RQfD 1Ewg== X-Gm-Message-State: ALoCoQk3ev5/OxVmGQyJaYSs7U5tZ0CypKAj796ZcpSI4i3vmewG9klD+m30Uf6yX4clONa2d4Fi X-Received: by 10.180.73.137 with SMTP id l9mr10180422wiv.5.1434578010018; Wed, 17 Jun 2015 14:53:30 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.196 with SMTP id a4ls327348lak.27.gmail; Wed, 17 Jun 2015 14:53:29 -0700 (PDT) X-Received: by 10.152.37.67 with SMTP id w3mr9907290laj.123.1434578009790; Wed, 17 Jun 2015 14:53:29 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id v6si4733670lav.62.2015.06.17.14.53.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jun 2015 14:53:29 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by lbbqq2 with SMTP id qq2so40611677lbb.3 for ; Wed, 17 Jun 2015 14:53:29 -0700 (PDT) X-Received: by 10.152.7.7 with SMTP id f7mr10112388laa.106.1434578009696; Wed, 17 Jun 2015 14:53:29 -0700 (PDT) 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.108.230 with SMTP id hn6csp751775lbb; Wed, 17 Jun 2015 14:53:28 -0700 (PDT) X-Received: by 10.140.196.129 with SMTP id r123mr11258294qha.93.1434578008231; Wed, 17 Jun 2015 14:53:28 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id n5si5421861qge.64.2015.06.17.14.53.27; Wed, 17 Jun 2015 14:53:28 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: by lists.linaro.org (Postfix, from userid 109) id 7DDF161E26; Wed, 17 Jun 2015 21:53:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 23B2061DC8; Wed, 17 Jun 2015 21:52:31 +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 3D6F561DBE; Wed, 17 Jun 2015 21:52:25 +0000 (UTC) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com [209.85.215.50]) by lists.linaro.org (Postfix) with ESMTPS id 9756E61DBD for ; Wed, 17 Jun 2015 21:52:13 +0000 (UTC) Received: by lacny3 with SMTP id ny3so42470197lac.3 for ; Wed, 17 Jun 2015 14:52:12 -0700 (PDT) X-Received: by 10.152.5.98 with SMTP id r2mr10083352lar.8.1434577932135; Wed, 17 Jun 2015 14:52:12 -0700 (PDT) Received: from mobile-VirtualBox.caveonetworks.com (c-83-233-90-46.cust.bredband2.com. [83.233.90.46]) by mx.google.com with ESMTPSA id k10sm1273417lbq.9.2015.06.17.14.52.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Jun 2015 14:52:11 -0700 (PDT) From: Christophe Milard To: anders.roxell@linaro.org, mike.holmes@linaro.org, stuart.haslam@linaro.org, maxim.uvarov@linaro.org Date: Wed, 17 Jun 2015 23:51:43 +0200 Message-Id: <1434577905-11797-4-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434577905-11797-1-git-send-email-christophe.milard@linaro.org> References: <1434577905-11797-1-git-send-email-christophe.milard@linaro.org> X-Topics: crypto patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [PATCH 3/5] validation: cosmetic fixes in odp_crypto.c X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 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" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: christophe.milard@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.172 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 Preparing for the next patch where this file is moved and check-odp would yell if these things were still there. Signed-off-by: Christophe Milard --- test/validation/odp_crypto.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/validation/odp_crypto.c b/test/validation/odp_crypto.c index 3393909..56f9938 100644 --- a/test/validation/odp_crypto.c +++ b/test/validation/odp_crypto.c @@ -8,10 +8,10 @@ #include "odp_cunit_common.h" #include "odp_crypto_test_inp.h" -#define SHM_PKT_POOL_SIZE (512*2048*2) +#define SHM_PKT_POOL_SIZE (512 * 2048 * 2) #define SHM_PKT_POOL_BUF_SIZE (1024 * 32) -#define SHM_COMPL_POOL_SIZE (128*1024) +#define SHM_COMPL_POOL_SIZE (128 * 1024) #define SHM_COMPL_POOL_BUF_SIZE 128 static CU_SuiteInfo crypto_suites[] = { @@ -40,7 +40,7 @@ int tests_global_init(void) memset(¶ms, 0, sizeof(params)); params.pkt.seg_len = SHM_PKT_POOL_BUF_SIZE; params.pkt.len = SHM_PKT_POOL_BUF_SIZE; - params.pkt.num = SHM_PKT_POOL_SIZE/SHM_PKT_POOL_BUF_SIZE; + params.pkt.num = SHM_PKT_POOL_SIZE / SHM_PKT_POOL_BUF_SIZE; params.type = ODP_POOL_PACKET; pool = odp_pool_create("packet_pool", ODP_SHM_NULL, ¶ms);