From patchwork Mon Jun 12 19:42:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 103671 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp81761qgd; Mon, 12 Jun 2017 12:43:57 -0700 (PDT) X-Received: by 10.55.203.10 with SMTP id d10mr51263117qkj.167.1497296637816; Mon, 12 Jun 2017 12:43:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497296637; cv=none; d=google.com; s=arc-20160816; b=nFv6P2rbydnIsanNQc/Z1uLeU9jk+TkyV1C14FDnb9RTIhfuVvF87RhB+toS5XhlPA 2OwT96uFWrPmksP0IJVZAjMXcQSwWC/FV3LLGk+QZCMr3iflPLAgT3TuaPAyl0PRe1nn iXNAkiBzpq7ymVwKtA1/OcLUoZlv6Sl9W/Dd0njtVUa7sUPUn602PytjWDE4taHyx2lP D1L+9ewWtWeEiFZWAAATCrg4XfENdCwpriHAhItj80/uqrGZD62E8YPeIuAXcaNThSZa qA5gLr4HBJDx5Wu+JZD6peOWOl9xSJK0qNxviOm9Ibk3Opzxm5FQtstBGgS/wIOPYjjv 2mVg== 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=hzMmoJrXmUSAFBsgYHfpHL+AOAIm6u9DhPTS60azF+Qhd4ggF2/6Ems799d8gBDAu0 UssOy8/PwjleK/G4V32veoveL5biFUuAP36x+25CCbhKTX9d/UekfCCcZLgSo2sJn7cA 3VGjV8kcsN4sH1PwWIxpgxp4j1Br5aYBNjb++iz62OFvOa5zAYHYhfK93Nkkl9hkDYMV rtM4kwSJ7C+qpumNhpfZiZfMHYKkOABVuukjov2+uBRsD2iTki36Tc2L2xEJelLgEpR0 pNLVZMAhutFZ8RuuSpLEJbf7XLDCbpx1KDd8PywpCRX65aSX3puPwD44j8uVzjW9T1un AG/Q== 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 i185si9769058qke.182.2017.06.12.12.43.57; Mon, 12 Jun 2017 12:43:57 -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 60C8E60C0F; Mon, 12 Jun 2017 19:43:57 +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=-1.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 C98F960BF4; Mon, 12 Jun 2017 19:42:16 +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 950E660993; Mon, 12 Jun 2017 19:42:12 +0000 (UTC) Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by lists.linaro.org (Postfix) with ESMTPS id 6074860993 for ; Mon, 12 Jun 2017 19:42:11 +0000 (UTC) Received: by mail-oi0-f45.google.com with SMTP id s3so57910981oia.0 for ; Mon, 12 Jun 2017 12:42:11 -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=W2zocA00Xo+b2KOPq2etf+H6fW5MfVHhWdERK1VmmNaQGmWym+CGPLRARTteHuNto+ 7ArB3ID4NmQG5+Y3ZdbCaJR2H5O/Vq0yfUisCjp18Ps+DDEWjo8Jv3pItJVlW5KQtAN1 2qAmaw0C726ExUZKgxjkcu43Qzlt0aLDGyJUB53OcOmyFawQ79KWUG7K+3VN9CdJ+uiU 2aqqf2/2KCwAbaCQ5b1nBIZLlO47nTLGlcv+vTwyr6SHvmr4tq+W5HoDcqq5dV/W3973 T9O0v30JQzTB5JFgZcGAitjIDrmLjDa/QQJ2GthZO/s2GaVTkc09F7qOYC9U6UtQVMAO Ktng== X-Gm-Message-State: AODbwcC9X/GN6rRmUwu5u95/c7ttA+WJlJ4oe8bJp8imIJVpxYOTw2vX n7RUVzXX3Ab6b6Fa+3MigJM1 X-Received: by 10.202.204.147 with SMTP id c141mr21277986oig.211.1497296530676; Mon, 12 Jun 2017 12:42:10 -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 c93sm4698347otb.38.2017.06.12.12.42.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Jun 2017 12:42:09 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Mon, 12 Jun 2017 14:42:03 -0500 Message-Id: <20170612194205.8592-3-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170612194205.8592-1-bill.fischofer@linaro.org> References: <20170612194205.8592-1-bill.fischofer@linaro.org> Subject: [lng-odp] [API-NEXT PATCHv4 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)