From patchwork Mon Jun 12 20:54:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 103677 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp105697qgd; Mon, 12 Jun 2017 13:55:51 -0700 (PDT) X-Received: by 10.55.114.2 with SMTP id n2mr61956000qkc.157.1497300951857; Mon, 12 Jun 2017 13:55:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497300951; cv=none; d=google.com; s=arc-20160816; b=wMw3ML/FJ4yssDt/LJAkMi13I8vb+Cg4LbMWNwrYQqt0EJExR4hp4JLxhBhsuc7RpU gShUk+PyGKcCFA/SV0eczPXyd7NZEbuNqooSaTpJAWGDpgV0qu+DFQDNTlghYkR/oxgu Xtz3nIttmC/KP2U/YEJqab2btKXaIIPMf9isaszcF3mBkwXImnQws3ic2h1uVKzW89+f PaEuBHTLQ9DL1s6bWO9ANBrRS74URZj4eSBVx9WGwoobcPJj2IUkRDJOEJLV+DXjegjD RcZHTRBPHWcNzotX+0RoLsvLzO+uTsU62VlF/8hPMCpVtIAmqYmTz7vZm0+m0ZEmilya M/gg== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=gpHEvZeqc4YTZqGiStLm9ZDaUW9tSYvVtFT+sQHpXQ4=; b=ihycqBHUQB6LWvT849BhU9NtqLfqlu9UgLPZUSyWvjwkeeuiEuIQh2sFBroA0coaUM 0CwXzIxnAPa/I5rH/cErnmfqvbXauUTplW3wjPXBX0n29u84Q8j27/rO+dTYzK6VL3av L2uTeilGYCJ0kgglZQ/xx/vvifg2RaNXCGiAgHE4sV2iuZPLUwlINrL3KsFxch2FM6Us QmH/nYnBxhdjQi1gSBLC6dGEcNfAKg2D33DJGEIR09cUcPH4fKdDmQNb2rusmexG+fX/ ay1Ij6YEo8Hdp9QGhbSnEGST1NVLRhIhr9RWpJqK8xAExrD6aC+agRYblUo9+9tUlhq5 ehEw== ARC-Authentication-Results: i=1; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id h15si9666868qth.149.2017.06.12.13.55.51; Mon, 12 Jun 2017 13:55:51 -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; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 84F5D609B3; Mon, 12 Jun 2017 20:55:51 +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=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, RCVD_IN_SORBS_SPAM, 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 A29E960BD8; Mon, 12 Jun 2017 20:54:47 +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 C8CCA60956; Mon, 12 Jun 2017 20:54:41 +0000 (UTC) Received: from mail-oi0-f43.google.com (mail-oi0-f43.google.com [209.85.218.43]) by lists.linaro.org (Postfix) with ESMTPS id B349160956 for ; Mon, 12 Jun 2017 20:54:40 +0000 (UTC) Received: by mail-oi0-f43.google.com with SMTP id b6so7838862oia.1 for ; Mon, 12 Jun 2017 13:54:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gpHEvZeqc4YTZqGiStLm9ZDaUW9tSYvVtFT+sQHpXQ4=; b=lUsJMUthdLK4zDvZwpaHGp1lxXnyZNt+b3yicCr7D2ScRtoDvUfbPRCaoBIGtdVxru 7MAE6kcn9ovgNS9evVtZZdPFq7wBpSF0sWHCLjQSw6XYRv+T99yOoX6gae1JPHDtxASR ByInLphAGFy8O9ZYpGe6ODoEhXlJ1sOZJfOJs4rYrNMQn311ij1AlUGQ5YHBzp35abpe vSLv+Dskgh40VXi2gMDV8ifSPRH1nKEwyyjs9Muz4vriM2PJfqfrD3kDnh8pP1cW5Ov+ orEk4dJXzk/97mSZcjFX6tOPx8RA6XCCGhOTUEUbS+GDRUcaPxGQ+i78jSa3tS6XbQ92 v0mQ== X-Gm-Message-State: AODbwcDNY8pJPfYVEju6qjo9BP5rmxp3hWIaWXfCBhwa+Yqawnn/rUEn FZCBquTZHGyfMvVb8zK0x5tk X-Received: by 10.202.59.195 with SMTP id i186mr31648279oia.188.1497300879904; Mon, 12 Jun 2017 13:54:39 -0700 (PDT) Received: from localhost.localdomain (cpe-70-121-83-241.austin.res.rr.com. [70.121.83.241]) by smtp.gmail.com with ESMTPSA id y34sm5427056oty.53.2017.06.12.13.54.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Jun 2017 13:54:38 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Mon, 12 Jun 2017 15:54:32 -0500 Message-Id: <20170612205434.21993-3-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170612205434.21993-1-bill.fischofer@linaro.org> References: <20170612205434.21993-1-bill.fischofer@linaro.org> Subject: [lng-odp] [API-NEXT PATCHv5 3/5] linux-generic: init: implement odp_init_param_init() 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" Signed-off-by: Bill Fischofer --- platform/linux-generic/odp_init.c | 5 +++++ 1 file changed, 5 insertions(+) -- 2.11.0 diff --git a/platform/linux-generic/odp_init.c b/platform/linux-generic/odp_init.c index 31bd7c73..62a1fbc2 100644 --- a/platform/linux-generic/odp_init.c +++ b/platform/linux-generic/odp_init.c @@ -147,6 +147,11 @@ static int read_configfile(void) return 0; } +void odp_init_param_init(odp_init_t *param) +{ + memset(param, 0, sizeof(odp_init_t)); +} + int odp_init_global(odp_instance_t *instance, const odp_init_t *params, const odp_platform_init_t *platform_params ODP_UNUSED)