From patchwork Thu Feb 18 12:20:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 62169 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp553627lbl; Thu, 18 Feb 2016 04:21:55 -0800 (PST) X-Received: by 10.55.203.69 with SMTP id d66mr8668151qkj.25.1455798115187; Thu, 18 Feb 2016 04:21:55 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id g67si52564840qgg.60.2016.02.18.04.21.54; Thu, 18 Feb 2016 04:21:55 -0800 (PST) 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; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id B7D3162EEA; Thu, 18 Feb 2016 12:21:54 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=fail reason="verification failed; unprotected key" header.d=linaro.org header.i=@linaro.org header.b=L9x1RNDx; dkim-adsp=none (unprotected policy); dkim-atps=neutral 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.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID, 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 A1EFA62F03; Thu, 18 Feb 2016 12:21:12 +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 9249262EEA; Thu, 18 Feb 2016 12:21:00 +0000 (UTC) Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) by lists.linaro.org (Postfix) with ESMTPS id 5BF1361A07 for ; Thu, 18 Feb 2016 12:20:59 +0000 (UTC) Received: by mail-ob0-f180.google.com with SMTP id wb13so63742796obb.1 for ; Thu, 18 Feb 2016 04:20:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fCa1pLMT/qPmb1rS9uqVOB3P1+8C8AXYWa5Mf44vKmQ=; b=L9x1RNDxGWkPK90fr9fXNbC4qJvTtFHLN58qHSygNzfA91gjhqZYum93UAddxIG/Yh 7bOtkG2en6Uii9TcQQkDQn0xQ64tTL3qB1kDY5nrxk+nyrCUJwz9/uHaAUClzRiI0dpG Bub5845ZFMlZw/fohLTFavv80a2WiKZMJqNVE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fCa1pLMT/qPmb1rS9uqVOB3P1+8C8AXYWa5Mf44vKmQ=; b=fDM0J9qvFU8lpIek2MNk8BwI+JHzZ8vTb0CBThZbMdSPJhKnuFCoWMcQK2TjQSq2rG kBGnSF9d/ka2hewqB1jJvnzhLsqe8tuwYVe9Xu5bsOvDQDJ/Yw7QKNxITNjCmC5/UEh1 VXaZ8MLY8oMVYZdNYP1L3UiIPlWdjoYSa84o5VX8G6l+lb0DT7MZHjN+mi5Tpv1WOzkD W/+IG/cSB7IE9DOODWUtU/YD1gWtx1SElZu2fcbMJP/XwyE9nTdJZdxu+aIrBLr7HGML Tu6L7skWBjRwL0zL/eqvsozjxqAQW9blTUXsvmYsyL0DjxXfz8eWfGd4VN0+N8WbVZLp SDGA== X-Gm-Message-State: AG10YOQ60cFABq6npDpsP4FgWzMjWi+tD8W837mDSRGT+0hh3ekBFvEKafvbfo6tjE95UG2GQVQ= X-Received: by 10.182.33.166 with SMTP id s6mr6036919obi.30.1455798059000; Thu, 18 Feb 2016 04:20:59 -0800 (PST) Received: from Ubuntu15.localdomain (cpe-66-68-129-43.austin.res.rr.com. [66.68.129.43]) by smtp.gmail.com with ESMTPSA id u68sm3650518oia.22.2016.02.18.04.20.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Feb 2016 04:20:58 -0800 (PST) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Thu, 18 Feb 2016 06:20:53 -0600 Message-Id: <1455798054-29132-3-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1455798054-29132-1-git-send-email-bill.fischofer@linaro.org> References: <1455798054-29132-1-git-send-email-bill.fischofer@linaro.org> X-Topics: crypto patch Subject: [lng-odp] [API-NEXT PATCHv2 3/4] validation: crypto: use odp_pool_param_init() instead of memset() 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: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Signed-off-by: Bill Fischofer --- test/validation/crypto/crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/validation/crypto/crypto.c b/test/validation/crypto/crypto.c index a0411c6..b6d06b6 100644 --- a/test/validation/crypto/crypto.c +++ b/test/validation/crypto/crypto.c @@ -36,7 +36,7 @@ int crypto_init(void) return -1; } - memset(¶ms, 0, sizeof(params)); + odp_pool_param_init(¶ms); 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;