From patchwork Sat Jul 4 23:12:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 50659 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B781D22916 for ; Sat, 4 Jul 2015 23:14:23 +0000 (UTC) Received: by wifm2 with SMTP id m2sf199876wif.1 for ; Sat, 04 Jul 2015 16:14:22 -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: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=DPvC5oWV8J0X3wmE9qFyHIBEi+zkhfKakmpLoZEk4V0=; b=LwxhFP69IEN1PwWmggN66SWpkr9gfs1h8fBm3S/Ua3DOybf6Fsh6KwcTdMEd2qFJ5E l2hU171gVpHzpOyKzM+APBA4lFok81VrlsuTeW9ScClPkzeKXB9MVWO7ze9ii4D4zLNg KDeX6ebMwyMZDpl6jHsCpPknxumT0hncd2OfLfqL4vQhkYGUjQYQTzXr4FigbOYsjQou glFKorTNFyecUrIU2noXcl0uCjxSA8mJRHzXkId8pQMQh4Ap8igOLsomFh+CgKh28Lzp KAq5Gv5clnZ5EE1Q+12Q0NHnbM3yyzVEnz6RQSH4sJlywF7hkTD+nsGIosMopfllX4o3 BFVw== X-Gm-Message-State: ALoCoQnjYNa3sEUL9HiLk7C/elA6aVLozp8x6E6JTSNIQBbtiGknUHACEoqktBFvQ6nRbr1fzJ6j X-Received: by 10.180.87.201 with SMTP id ba9mr11197876wib.3.1436051662976; Sat, 04 Jul 2015 16:14:22 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.8 with SMTP id u8ls601614laj.39.gmail; Sat, 04 Jul 2015 16:14:22 -0700 (PDT) X-Received: by 10.112.221.9 with SMTP id qa9mr1730077lbc.23.1436051662685; Sat, 04 Jul 2015 16:14:22 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id du6si11218116lbc.41.2015.07.04.16.14.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Jul 2015 16:14:22 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by laar3 with SMTP id r3so118445653laa.0 for ; Sat, 04 Jul 2015 16:14:22 -0700 (PDT) X-Received: by 10.112.204.6 with SMTP id ku6mr42354991lbc.73.1436051662259; Sat, 04 Jul 2015 16:14:22 -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 hn6csp853427lbb; Sat, 4 Jul 2015 16:14:21 -0700 (PDT) X-Received: by 10.140.135.6 with SMTP id 6mr65467053qhh.101.1436051660990; Sat, 04 Jul 2015 16:14:20 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id o72si15671651qkh.20.2015.07.04.16.14.06; Sat, 04 Jul 2015 16:14:20 -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 2108761CDE; Sat, 4 Jul 2015 23:14:06 +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 537FB61DB8; Sat, 4 Jul 2015 23:12:38 +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 50D4461CCF; Sat, 4 Jul 2015 23:12:18 +0000 (UTC) Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) by lists.linaro.org (Postfix) with ESMTPS id C5F5961CCC for ; Sat, 4 Jul 2015 23:12:16 +0000 (UTC) Received: by oigx81 with SMTP id x81so97080536oig.1 for ; Sat, 04 Jul 2015 16:12:16 -0700 (PDT) X-Received: by 10.202.50.198 with SMTP id y189mr39422205oiy.21.1436051536329; Sat, 04 Jul 2015 16:12:16 -0700 (PDT) Received: from localhost.localdomain (cpe-24-28-70-239.austin.res.rr.com. [24.28.70.239]) by mx.google.com with ESMTPSA id c9sm7563182oih.11.2015.07.04.16.12.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 04 Jul 2015 16:12:15 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Sat, 4 Jul 2015 18:12:04 -0500 Message-Id: <1436051526-15926-4-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1436051526-15926-1-git-send-email-bill.fischofer@linaro.org> References: <1436051526-15926-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv3 4/6] linux-generic: pool: implement odp_pool_param_init 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: bill.fischofer@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.215.51 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 Signed-off-by: Bill Fischofer --- platform/linux-generic/odp_pool.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c index dcbdf07..8571cdb 100644 --- a/platform/linux-generic/odp_pool.c +++ b/platform/linux-generic/odp_pool.c @@ -658,3 +658,8 @@ odp_pool_t odp_buffer_pool(odp_buffer_t buf) { return odp_buf_to_hdr(buf)->pool_hdl; } + +void odp_pool_param_init(odp_pool_param_t *params) +{ + memset(params, 0, sizeof(odp_pool_param_t)); +}