From patchwork Tue Jul 14 12:28:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 51107 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1F0B922A24 for ; Tue, 14 Jul 2015 12:28:48 +0000 (UTC) Received: by laef2 with SMTP id f2sf2423138lae.0 for ; Tue, 14 Jul 2015 05:28:47 -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=YYNLvfGFV0+5ZFqhnZu6Nr+oW7Jl91EIY4sMN+FEQ68=; b=JDq2JpMxoha2dBqRmBou69JYEMs4DeyxWQiOBT1TLzqz9MiNIUIKXdS3FP6Wz+CBic JBVkeTjY2azGNeUM9aEgsoeYiEmDAZZhMjXY08YbP4VZZP1rkQpye4WKK32KAGJVvl8j 6lQSNmynvWr2QAqIweq4WDlQG8Pcinfc/AYn4aRzRK3D/gJkGwKoI5i2kb2HnKaPz1oF bsVrf4LFg0GOfxHm4UBbe/UI8FR89/sYiVv0bZRKMl8jyvjorYmMtPuAV95URa7RGTIF KwhZhhK1Hxv57UH1J7K7vP85DuRK32D55hXjHEe1vN453452cItNwgb2O49FE5Pjlax6 GCAw== X-Gm-Message-State: ALoCoQkecaqV52ckJz91Oepyh414mVGN7hwNm2JaPlEF8902VF9zwOI5ja0izAi3zOUoFPaOLpK/ X-Received: by 10.181.13.202 with SMTP id fa10mr1400835wid.4.1436876927054; Tue, 14 Jul 2015 05:28:47 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.181.34 with SMTP id dt2ls40178lac.14.gmail; Tue, 14 Jul 2015 05:28:46 -0700 (PDT) X-Received: by 10.152.26.163 with SMTP id m3mr37565814lag.86.1436876926817; Tue, 14 Jul 2015 05:28:46 -0700 (PDT) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com. [209.85.217.178]) by mx.google.com with ESMTPS id xi9si824249lbb.4.2015.07.14.05.28.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jul 2015 05:28:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by lbbyj8 with SMTP id yj8so5176695lbb.0 for ; Tue, 14 Jul 2015 05:28:46 -0700 (PDT) X-Received: by 10.112.55.207 with SMTP id u15mr37454650lbp.88.1436876926678; Tue, 14 Jul 2015 05:28: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.108.230 with SMTP id hn6csp2352674lbb; Tue, 14 Jul 2015 05:28:45 -0700 (PDT) X-Received: by 10.140.145.78 with SMTP id 75mr63841236qhr.61.1436876925249; Tue, 14 Jul 2015 05:28:45 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id e23si823853qkh.96.2015.07.14.05.28.44; Tue, 14 Jul 2015 05:28:45 -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 7A38861DA5; Tue, 14 Jul 2015 12:28:44 +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 EC56461836; Tue, 14 Jul 2015 12:28:40 +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 784ED6183D; Tue, 14 Jul 2015 12:28:38 +0000 (UTC) Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) by lists.linaro.org (Postfix) with ESMTPS id C4D2A6181E for ; Tue, 14 Jul 2015 12:28:37 +0000 (UTC) Received: by obre1 with SMTP id e1so4908209obr.1 for ; Tue, 14 Jul 2015 05:28:37 -0700 (PDT) X-Received: by 10.182.142.74 with SMTP id ru10mr31353549obb.75.1436876917375; Tue, 14 Jul 2015 05:28:37 -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 fw2sm375884obb.24.2015.07.14.05.28.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Jul 2015 05:28:36 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Tue, 14 Jul 2015 07:28:33 -0500 Message-Id: <1436876913-12368-1-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv3 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.178 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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/odp/api/queue.h b/include/odp/api/queue.h index 297067d..61d0b31 100644 --- a/include/odp/api/queue.h +++ b/include/odp/api/queue.h @@ -258,6 +258,15 @@ 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 + * + * 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); + +/** * @} */