From patchwork Sun Nov 5 20:00:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 117992 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2039529qgn; Sun, 5 Nov 2017 12:01:16 -0800 (PST) X-Google-Smtp-Source: ABhQp+TqUOzD1JRpmcZj2Hiu+S9rdUaRrkhFkomO5iDQ+UjhQNypao6+tDgvpbR+uNLP0r/JTFoM X-Received: by 10.55.1.8 with SMTP id 8mr19520569qkb.80.1509912076335; Sun, 05 Nov 2017 12:01:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509912076; cv=none; d=google.com; s=arc-20160816; b=KxM8zbcjHdje9H9Wxf9R5g3Db1fmsiS22Tcj1UvZumsi5v+3JltwbzMmN8Ng24FwEt 91z8nQPLEH2tghtYcFCRMIHMuBop6rIzKNqZ9z3I7/lcsF3ls3LDBV42HVb0yl+h6NSx Q+U7ahPoQJiRoF5I6PRkd8wFKX8VioLZP1gKhElukdNb9UCP/2Pe3wTyRAMDUNCIYZQj tILGQuHX5e0CZ6TBTliYT4DG19jmMliMUXHPviCH4AWN5cP2xkUGZaX9F622UKoVUmeO 2WHdFHjSZjwR4VwZ1o86lH+3XGTGP63JDhQMnBS2xff3hcPXxPqRmqUImbfcpH5MM4St CiHQ== 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:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=JHpuEMm0y4muyk8YLXdTjIqrUFtRWN5zEgtOFjvgnCQ=; b=fIdrOolsFvbFyNa3LZQT8qP6qSz4Wmgl8fZ5+OPkqDlrWuN+yDEcxBFnvD7bBmdDmB J0M31IbqD+eU3xQgLFU2i3Nfiyiug1T7Jl46m5S4HNmxAbswkKnwqQw7c9gAkhhEiv8c YyzFzfdOJ/Iy4QTxnHBOyvLX9cizkhHuRvnJ4pkp6170XVt8qLz/YCPSZescvh3F8dxQ vPIpHxtgZkBwVNNnhEPJf3cPXIQFYGqajiHptX0nOdfoX9VyYvoblP0zv9hEkqBewS1K R62/LlcIdQ3J1wA7iIdt2aMw+n8j9vDyzDoIZ42BBslPILqGnVsYLS9quMZ4aPztIxRe 5+7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id p29si3249546qkp.219.2017.11.05.12.01.16; Sun, 05 Nov 2017 12:01:16 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 0D00260B4D; Sun, 5 Nov 2017 20:01:16 +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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 260DE60AD0; Sun, 5 Nov 2017 20:00:20 +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 5B4DF6018A; Sun, 5 Nov 2017 20:00:13 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id 3D9646018A for ; Sun, 5 Nov 2017 20:00:11 +0000 (UTC) Received: from mxback4g.mail.yandex.net (mxback4g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:165]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 9238321814D1 for ; Sun, 5 Nov 2017 23:00:09 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback4g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id HcYVovXvxq-09GeNXdk; Sun, 05 Nov 2017 23:00:09 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id AsckRko5Lx-08FGf4QW; Sun, 05 Nov 2017 23:00:08 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Sun, 5 Nov 2017 23:00:05 +0300 Message-Id: <1509912006-21983-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509912006-21983-1-git-send-email-odpbot@yandex.ru> References: <1509912006-21983-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 276 Subject: [lng-odp] [PATCH v1 3/4] 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" From: Bill Fischofer Signed-off-by: Bill Fischofer Reviewed-by: Petri Savolainen Signed-off-by: Maxim Uvarov --- /** Email created from pull request 276 (muvarov:next) ** https://github.com/Linaro/odp/pull/276 ** Patch: https://github.com/Linaro/odp/pull/276.patch ** Base sha: f318c88f26b15140dda243e6a1d27e3c8f9d275b ** Merge commit sha: a1aa17bb2964bcc180fc9b3b1568b36f8c235049 **/ platform/linux-generic/odp_init.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/platform/linux-generic/odp_init.c b/platform/linux-generic/odp_init.c index 92a583702..6a45f3986 100644 --- a/platform/linux-generic/odp_init.c +++ b/platform/linux-generic/odp_init.c @@ -25,6 +25,11 @@ struct odp_global_data_s odp_global_data; +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)