From patchwork Wed Oct 14 11:51:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 54904 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by patches.linaro.org (Postfix) with ESMTPS id 529BD23012 for ; Wed, 14 Oct 2015 11:51:47 +0000 (UTC) Received: by wicid10 with SMTP id id10sf24976957wic.2 for ; Wed, 14 Oct 2015 04:51:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=5EdSO3x9DFG/i5mACFFTwIVvQFVaItKll88KxBwRixI=; b=a+cXr1JAfW1wfF5Cz2JWleENLev/AFjcXGsB7jnor7/sgacHf3lpdCNvMQfJPR8DBR uK63ffPoGmPO1WoIxsP3ztm2c40jvgzltDKs0NzqEv0GieVcNVtoW5fqEHztvPDFatHJ W2TqQrJy+4hm96g0wy/hDfDviWTlmNKblPsUO1fHZRB9OT1pvnGIRGSMGIPxLPFyz/E9 cDGBx2BBCzLgIOIKLfT/TAfg01+4MBGaxUddM5Hgz0Sr5YRccPXHP+oFYxoGrF0Sa6Lr VMD+dWhxd6EMNjUQCFmY7h7pf6jQts0IyqfKlLQPxgs2Zpu5xhrw0FOIvzJy8VL7+qby 8cAw== X-Gm-Message-State: ALoCoQkwja6Y9QIxMERDko2dCPkX4Ytw/i+0DKJRU/SiSdUVPpeks2NJQn9y7e/ktg0qpHojRe6K X-Received: by 10.112.136.99 with SMTP id pz3mr677137lbb.11.1444823506634; Wed, 14 Oct 2015 04:51:46 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.88.67 with SMTP id m64ls27397lfb.103.gmail; Wed, 14 Oct 2015 04:51:46 -0700 (PDT) X-Received: by 10.112.154.9 with SMTP id vk9mr1380988lbb.42.1444823506357; Wed, 14 Oct 2015 04:51:46 -0700 (PDT) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id j68si3652725lfi.25.2015.10.14.04.51.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Oct 2015 04:51:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by lbcao8 with SMTP id ao8so44229577lbc.3 for ; Wed, 14 Oct 2015 04:51:46 -0700 (PDT) X-Received: by 10.112.139.201 with SMTP id ra9mr1353953lbb.29.1444823506124; Wed, 14 Oct 2015 04:51:46 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp2682685lbq; Wed, 14 Oct 2015 04:51:45 -0700 (PDT) X-Received: by 10.140.88.243 with SMTP id t106mr3382928qgd.44.1444823504994; Wed, 14 Oct 2015 04:51:44 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id y65si209325qky.54.2015.10.14.04.51.44; Wed, 14 Oct 2015 04:51:44 -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; Received: by lists.linaro.org (Postfix, from userid 109) id 86E8161BAF; Wed, 14 Oct 2015 11:51:44 +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, 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 CD16F61BBF; Wed, 14 Oct 2015 11:51:15 +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 AA23F61A25; Wed, 14 Oct 2015 11:51:11 +0000 (UTC) Received: from mail-ob0-f175.google.com (mail-ob0-f175.google.com [209.85.214.175]) by lists.linaro.org (Postfix) with ESMTPS id EC90361A22 for ; Wed, 14 Oct 2015 11:51:10 +0000 (UTC) Received: by obbzf10 with SMTP id zf10so37069622obb.2 for ; Wed, 14 Oct 2015 04:51:10 -0700 (PDT) X-Received: by 10.182.97.97 with SMTP id dz1mr1441388obb.17.1444823470462; Wed, 14 Oct 2015 04:51:10 -0700 (PDT) Received: from Ubuntu15.localdomain (cpe-66-68-129-43.austin.res.rr.com. [66.68.129.43]) by smtp.gmail.com with ESMTPSA id l205sm3993834oig.4.2015.10.14.04.51.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Oct 2015 04:51:10 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Wed, 14 Oct 2015 06:51:02 -0500 Message-Id: <1444823465-21264-2-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1444823465-21264-1-git-send-email-bill.fischofer@linaro.org> References: <1444823465-21264-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCH 2/5] linux-generic: pktio: implement odp_pktio_param_init() API X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: bill.fischofer@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Bill Fischofer --- platform/linux-generic/odp_packet_io.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c index 8f34967..b3ca4c8 100644 --- a/platform/linux-generic/odp_packet_io.c +++ b/platform/linux-generic/odp_packet_io.c @@ -815,3 +815,8 @@ int odp_pktio_mac_addr(odp_pktio_t id, void *mac_addr, int addr_size) return ret; } + +void odp_pktio_param_init(odp_pktio_param_t *params) +{ + memset(params, 0, sizeof(odp_pktio_param_t)); +}