From patchwork Mon Nov 6 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: 118094 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp3150241qgn; Mon, 6 Nov 2017 12:01:54 -0800 (PST) X-Google-Smtp-Source: ABhQp+TFNsAx2SktubybyC3Z3zJ6HjTbWBLkuWrROGgdrwPXpUOH3mPBMWGDoALzZ4bIcfi03sc8 X-Received: by 10.36.20.81 with SMTP id 78mr10593037itg.127.1509998513992; Mon, 06 Nov 2017 12:01:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509998513; cv=none; d=google.com; s=arc-20160816; b=OkZB1iuMwHGYM4jElxwSH8wxR89tbYDUuxvtAcisbG+qYU5Me4L091SDktF6qmV5H9 3ZcWTiPDnhCTKye5Ij/wFK7zDaYIIsZcCoOFgGkbOah7mI3xgiJtbcg4KiWhO/mkUQGa rvaAB0X711Ni2vBwZye8Ri23kV6whjogGKO2rvNCcLl2XyYtCzqeosPtr0dCiWzqnG86 kViLh7VS+weDbnMa7vqtkOAV4k5Ul2biaS3MQpbGbYF80FPuJfQABxSgiBTkbAfQspeu GaPF8aiOsy7WlvIyYsz6KVn/z92qnKA12dQNhsi5TDMMdRfStowfm78IinVJxp8YUsip X4xQ== 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=fwTdmf8F6sbbgQXsdLDGWsZiJDCgUJYzzrLLr1L6WTc=; b=AFDcN2XOBVr5tlR+XFzgMUE3ovJHgzOshWoFufVoWXQt6awq0WyGa+uIJ29fQJuLoE 3md6FCVdLh488/hBVxvueH5az0HqS7IwB4vBs2ndeDgvl9wl7ImsNJ3oPXxrEM3e4cyF FNccryE+6/utGLjpIo547x6MtbK+yQSl5GhyxBXWoAC75RQAIUPGj6Y0kTD6Air4kJRA GhvmG4Y26OBrvP9hYBIW4CQLCfs7DIz2vd9zrYTfFgu2vVxQDOZw2eAMkipeKX9Gzcc6 uUajytbBSy2ShDt5qVQr6KsqIJ7mJnI0QNWjLWETS4cwB5cjNT7y010y0+szoCcUFHBD KKXg== 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 h185si8564931ita.150.2017.11.06.12.01.53; Mon, 06 Nov 2017 12:01:53 -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 9E4E860C0B; Mon, 6 Nov 2017 20:01:53 +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=-5.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, 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 1EB7C60C21; Mon, 6 Nov 2017 20:00:24 +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 55C6E606B3; Mon, 6 Nov 2017 20:00:14 +0000 (UTC) Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [77.88.28.101]) by lists.linaro.org (Postfix) with ESMTPS id 4369660721 for ; Mon, 6 Nov 2017 20:00:11 +0000 (UTC) Received: from mxback2g.mail.yandex.net (mxback2g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:163]) by forward101p.mail.yandex.net (Yandex) with ESMTP id 875986A86ED4 for ; Mon, 6 Nov 2017 23:00:09 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback2g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id oqRgWLfEQL-09IKeatS; Mon, 06 Nov 2017 23:00:09 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id kjmdnsAqIW-08FCqaT3; Mon, 06 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: Mon, 6 Nov 2017 23:00:05 +0300 Message-Id: <1509998406-12706-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509998406-12706-1-git-send-email-odpbot@yandex.ru> References: <1509998406-12706-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 278 Subject: [lng-odp] [PATCH v3 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 278 (muvarov:next2) ** https://github.com/Linaro/odp/pull/278 ** Patch: https://github.com/Linaro/odp/pull/278.patch ** Base sha: f318c88f26b15140dda243e6a1d27e3c8f9d275b ** Merge commit sha: 7b1bdbd556cad7a42550ae18152f2f9281b6930e **/ 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..fe03709b7 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)