From patchwork Mon Nov 6 12:00:06 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: 118024 Delivered-To: patch@linaro.org Received: by 10.80.245.45 with SMTP id t42csp2542380edm; Mon, 6 Nov 2017 04:04:25 -0800 (PST) X-Google-Smtp-Source: ABhQp+SqHu+I/TvKgodj4hY7/0vIQcp1RMLm0JuRxcs5/9/aTY11rXa4YCShtw8hJlZ/tOd+JQ3J X-Received: by 10.55.33.85 with SMTP id h82mr8899398qkh.56.1509969865382; Mon, 06 Nov 2017 04:04:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509969865; cv=none; d=google.com; s=arc-20160816; b=SId98n5etfGzlsgsLvoGOPEPY2cy1VwM15WFyLYWlfccLG6+KaGtdF3NNdK7fQh223 xndsQd8NJwqJu+z1rRrP/bgmzDzkzxD28eGIw4XqkRoxLCx6v/LJoAgy1sR4eUhgK5aB L7X5qzOtEZoetnX9t0zObdjJm3rrR5fy8knDbGEZbEzpAI3+Fj+l3t07OZgKPr5S4jXF iDmy/Jm3Rz1MGVS+Dq3dkr9LSFVW0bzjLNs2jfKJlBfNa2wGok34uVehOIIDk/6kwUAK bjNpIWbFCFGAKkLzDxNNj96ZhfWJ/k4JNoiYEVwiGCnw53n0EMN7XWMLrjMKm9g4JJc3 YDTA== 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=k0/ZxPzZO0BrFDc2mFcxScSjEu/z2HdVgBvTSWnWx64=; b=ffo9N8Udj4fRURWwl0foMP4bDpfbdZOZ4Da/XItJCZOr3ROMZMLDPutS33K2hbryil uq6DNnP4dFrZaXXneXLLn265XLd8ayNQN3Gc98/7noQ220Xz4wsP9cIj0mWGjPCbo91s TB1cAbGHEfo3VT1y64K0gMDSpkEghtwu68SM4AWUPrZn8JMRnbIrjz3mCQL9ZerYztqQ MNtRKwQORkAl9iVYJKTpQQzy3NRJ3ANc7wHU3RkSXEmJcEWfF1L0AbQTcboUBKdtM841 2o1CWUIry3otT3Vo+duTpOJhPrgPgcqbrqDkXZQUZz+/7bqIudo600ef3Jy22/A6CK+0 k++g== 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 c12si6214068qtd.226.2017.11.06.04.04.25; Mon, 06 Nov 2017 04:04:25 -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 199A060C0C; Mon, 6 Nov 2017 12:04:25 +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,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 7A7BA60BEF; Mon, 6 Nov 2017 12:02:08 +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 2ED066069C; Mon, 6 Nov 2017 12:01:53 +0000 (UTC) Received: from forward103j.mail.yandex.net (forward103j.mail.yandex.net [5.45.198.246]) by lists.linaro.org (Postfix) with ESMTPS id 33798607B2 for ; Mon, 6 Nov 2017 12:00:12 +0000 (UTC) Received: from mxback2g.mail.yandex.net (mxback2g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:163]) by forward103j.mail.yandex.net (Yandex) with ESMTP id D3DCC34C1229 for ; Mon, 6 Nov 2017 15:00:10 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback2g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id KSyNDzjt1Z-0AIKFnTO; Mon, 06 Nov 2017 15:00:10 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 3HBJbpFqMH-0AeSgJgZ; Mon, 06 Nov 2017 15:00:10 +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 15:00:06 +0300 Message-Id: <1509969607-32198-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509969607-32198-1-git-send-email-odpbot@yandex.ru> References: <1509969607-32198-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 276 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 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: bb644389b2bb70dd349aed079e00a2fea7c90eea **/ 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)