From patchwork Mon Aug 3 22:29:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 51880 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by patches.linaro.org (Postfix) with ESMTPS id C9937228F2 for ; Mon, 3 Aug 2015 22:31:15 +0000 (UTC) Received: by lbbyj8 with SMTP id yj8sf29190574lbb.3 for ; Mon, 03 Aug 2015 15:31:14 -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=dC0WuXqDK6OEaGtTDaHCE3ML74CxX8Vzro1AvYF63ck=; b=PiL7TnYDEZHYr4C5RvNWMZBv+zZuy3xhMU6H3ccAyiF5DmOmpZ5/hzuDBB8B15Jn/K d6YTagzyPr5BIIqiVmkz+939tcr/Maj6Y312ka71eqSN06gPf6jpGKcwsn+WENv5pqL7 IJ18fm5daRUMkp4ghM7G9Pg4if7PUjKzc7VdIyj3cHMkckUjnNPJtGKxFQAa6W4puk/j 2qYDwMIMiOsrFKfHLlMQV4xcW/2g8UnLjtRN+YQlwrS7UHcjFWKnNAuvLBY7FKmh1a7K JFXDrnRSjAQDEaMTH1uiIWKpbfRMmS7Dp7Pxs78j/r7jw0C7OMfSlao5BYxvOO42GVZW pnSg== X-Gm-Message-State: ALoCoQnSSU5kILqYaqeJYXPfK0gnp3Xb9aaQdMubz6rjiIZoi/M5owFRdd7oRsheyNdXQMQK3+pP X-Received: by 10.112.125.71 with SMTP id mo7mr128524lbb.2.1438641074168; Mon, 03 Aug 2015 15:31:14 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.25.134 with SMTP id c6ls676979lag.54.gmail; Mon, 03 Aug 2015 15:31:14 -0700 (PDT) X-Received: by 10.112.209.106 with SMTP id ml10mr296544lbc.112.1438641074016; Mon, 03 Aug 2015 15:31:14 -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 lc7si13194273lac.95.2015.08.03.15.31.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Aug 2015 15:31:13 -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 lbbud7 with SMTP id ud7so81470029lbb.3 for ; Mon, 03 Aug 2015 15:31:13 -0700 (PDT) X-Received: by 10.152.36.102 with SMTP id p6mr291463laj.19.1438641073248; Mon, 03 Aug 2015 15:31:13 -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.7.198 with SMTP id l6csp2096889lba; Mon, 3 Aug 2015 15:31:12 -0700 (PDT) X-Received: by 10.107.135.41 with SMTP id j41mr333255iod.33.1438641072107; Mon, 03 Aug 2015 15:31:12 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id k74si15158742ioi.114.2015.08.03.15.31.11; Mon, 03 Aug 2015 15:31:12 -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 E6EF661F30; Mon, 3 Aug 2015 22:31:10 +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_H2, 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 767F861EF2; Mon, 3 Aug 2015 22:30:03 +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 05D2B61E26; Mon, 3 Aug 2015 22:29:48 +0000 (UTC) Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by lists.linaro.org (Postfix) with ESMTPS id 622FD61E26 for ; Mon, 3 Aug 2015 22:29:46 +0000 (UTC) Received: by obbop1 with SMTP id op1so110207744obb.2 for ; Mon, 03 Aug 2015 15:29:46 -0700 (PDT) X-Received: by 10.60.56.2 with SMTP id w2mr343808oep.14.1438640985994; Mon, 03 Aug 2015 15:29:45 -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 fw2sm8211222obb.24.2015.08.03.15.29.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Aug 2015 15:29:45 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Mon, 3 Aug 2015 17:29:29 -0500 Message-Id: <1438640978-16334-3-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1438640978-16334-1-git-send-email-bill.fischofer@linaro.org> References: <1438640978-16334-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv6 02/11] validation: schedule: initialize queue and pool parameters 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.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 --- test/validation/scheduler/scheduler.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/validation/scheduler/scheduler.c b/test/validation/scheduler/scheduler.c index fe03ab7..bbe829e 100644 --- a/test/validation/scheduler/scheduler.c +++ b/test/validation/scheduler/scheduler.c @@ -112,6 +112,8 @@ static void scheduler_test_queue_destroy(void) ODP_SCHED_SYNC_ATOMIC, ODP_SCHED_SYNC_ORDERED}; + odp_queue_param_init(&qp); + odp_pool_param_init(¶ms); params.buf.size = 100; params.buf.align = 0; params.buf.num = 1; @@ -619,6 +621,7 @@ static int create_queues(void) for (i = 0; i < prios; i++) { odp_queue_param_t p; + odp_queue_param_init(&p); p.sched.prio = i; for (j = 0; j < QUEUES_PER_PRIO; j++) { @@ -667,6 +670,7 @@ static int scheduler_suite_init(void) thread_args_t *args; odp_pool_param_t params; + odp_pool_param_init(¶ms); params.buf.size = BUF_SIZE; params.buf.align = 0; params.buf.num = MSG_POOL_SIZE / BUF_SIZE;