From patchwork Fri Jul 10 18:03:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 51046 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9119E228E5 for ; Fri, 10 Jul 2015 18:03:49 +0000 (UTC) Received: by lbcjf8 with SMTP id jf8sf1742921lbc.0 for ; Fri, 10 Jul 2015 11:03:48 -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: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=SHIkAHLQEkPsAsmGu/rXV+sUg5LWBxaUFzOsoN/OQ3Q=; b=G/KlnCys7vQ6D+vwRmiYwKpByZS1o/pR0pA1YXY9j0qD7z/quSgS9mWcI2QN7oSScD eJ1UPev4dlJ9feBTkVNKqUVnbhIXphhtFF8KSKDqYCGklfNfbpaezoBBRwRwNe2Q+VLh r7FcwdFQ0iwBGoGYEd4Zwr5NvxwIMSmStjshpdyMpuoRMJeMNs+YzovyZST+q+Gq2G1s lECXUUIZ1dM0syXhfFsy6jssHDVv8HwkCMuEHOCKwxxO4civ+ika7Rs2wuwPHXlAPHPS LeqpfQE7rSsXO72ag9jKTeSOeewFCAIuic261qTGh7Xz1WOeQzttqkKJqEDQRujRPoEo S2DQ== X-Gm-Message-State: ALoCoQmZLR/YwGnF6oXVAZYxG40RYyPuzo7NJ3P1XzttxLlRrn0h4sdtUAABntn1mgmZX3abJqKd X-Received: by 10.180.90.106 with SMTP id bv10mr58674wib.6.1436551428526; Fri, 10 Jul 2015 11:03:48 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.168 with SMTP id kz8ls1057116lac.105.gmail; Fri, 10 Jul 2015 11:03:48 -0700 (PDT) X-Received: by 10.152.23.167 with SMTP id n7mr20981112laf.108.1436551428359; Fri, 10 Jul 2015 11:03:48 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id jo7si7894010lab.155.2015.07.10.11.03.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Jul 2015 11:03:47 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by lbnk3 with SMTP id k3so96800085lbn.1 for ; Fri, 10 Jul 2015 11:03:47 -0700 (PDT) X-Received: by 10.152.4.163 with SMTP id l3mr21278533lal.35.1436551427851; Fri, 10 Jul 2015 11:03:47 -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.108.230 with SMTP id hn6csp147162lbb; Fri, 10 Jul 2015 11:03:47 -0700 (PDT) X-Received: by 10.55.18.27 with SMTP id c27mr35376016qkh.84.1436551426590; Fri, 10 Jul 2015 11:03:46 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id r72si10894178qkr.99.2015.07.10.11.03.45; Fri, 10 Jul 2015 11:03:46 -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 5B55E6207A; Fri, 10 Jul 2015 18:03:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 5067862060; Fri, 10 Jul 2015 18:03:41 +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 49E176206C; Fri, 10 Jul 2015 18:03:39 +0000 (UTC) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by lists.linaro.org (Postfix) with ESMTPS id 8444062018 for ; Fri, 10 Jul 2015 18:03:38 +0000 (UTC) Received: by obbgp5 with SMTP id gp5so83757717obb.0 for ; Fri, 10 Jul 2015 11:03:38 -0700 (PDT) X-Received: by 10.202.228.2 with SMTP id b2mr19491428oih.127.1436551418072; Fri, 10 Jul 2015 11:03:38 -0700 (PDT) Received: from localhost.localdomain (cpe-24-28-70-239.austin.res.rr.com. [24.28.70.239]) by smtp.gmail.com with ESMTPSA id fh3sm4374778obb.23.2015.07.10.11.03.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Jul 2015 11:03:37 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Fri, 10 Jul 2015 13:03:30 -0500 Message-Id: <1436551413-2609-1-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv2 1/4] api: queue: add odp_queue_param_init prototype 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.171 as permitted sender) smtp.mail=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 --- include/odp/api/queue.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/odp/api/queue.h b/include/odp/api/queue.h index 297067d..61e7ace 100644 --- a/include/odp/api/queue.h +++ b/include/odp/api/queue.h @@ -258,6 +258,16 @@ odp_schedule_group_t odp_queue_sched_group(odp_queue_t queue); uint64_t odp_queue_to_u64(odp_queue_t hdl); /** + * Initialize queue params + * + * This routine is used to initialize an odp_queue_param_t to its + * default values for all fields + * + * @param param Address of the odp_queue_param_t to be initialized + */ +void odp_queue_param_init(odp_queue_param_t *param); + +/** * @} */