From patchwork Sun Aug 2 23:21:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 51809 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id B5153229FD for ; Sun, 2 Aug 2015 23:23:54 +0000 (UTC) Received: by wicmv11 with SMTP id mv11sf23448608wic.1 for ; Sun, 02 Aug 2015 16:23:54 -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=lr9yF9X+cgOVMBncV28Bx3Ylr8/YYa/VSWZFJsu7AuLI2tt+ZXp2ScEtN13yKeSZib DPW5s0skN/PG4YDJ1Xv7PSINt1mYoq/eoRcoTTvXSK9SzGAYrhPIXROOcbURj+Km54jX 80iWx3VrJvFp0wTA3GrzKDPkWIgRnxAct6n4pvO//80+TFcXZaookI6/4bHpueGDtu/O omFtPYoK0Z+2TqOMPV94U0ugPkqykb8zX6sqm5sLEr70OlmpDI4yOcLOa1TG39VhTHcJ qHhNNb/vypwajFy4hA4ZUbHg6yjVUls06hPPVP86xvN0MTiRYkpabAILRJA9uTxIlLNB p9vQ== X-Gm-Message-State: ALoCoQnplAKdRD6xxzex7tGo9acoiv+24SX9sgKDZZj3Cs+LlGg5j2OnO/DFvnbjkVTukmWFR+VF X-Received: by 10.112.202.104 with SMTP id kh8mr1402643lbc.9.1438557834060; Sun, 02 Aug 2015 16:23:54 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.135 with SMTP id ky7ls554094lac.20.gmail; Sun, 02 Aug 2015 16:23:53 -0700 (PDT) X-Received: by 10.112.180.201 with SMTP id dq9mr14394483lbc.78.1438557833912; Sun, 02 Aug 2015 16:23:53 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id pd4si10461442lbc.40.2015.08.02.16.23.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Aug 2015 16:23:53 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by labsr2 with SMTP id sr2so361235lab.2 for ; Sun, 02 Aug 2015 16:23:53 -0700 (PDT) X-Received: by 10.153.7.66 with SMTP id da2mr246076lad.117.1438557833502; Sun, 02 Aug 2015 16:23:53 -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 l6csp1569524lba; Sun, 2 Aug 2015 16:23:52 -0700 (PDT) X-Received: by 10.55.21.160 with SMTP id 32mr20774901qkv.92.1438557832144; Sun, 02 Aug 2015 16:23:52 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 34si15202906qkx.48.2015.08.02.16.23.51; Sun, 02 Aug 2015 16:23:52 -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 6016761D8F; Sun, 2 Aug 2015 23:23:51 +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 1CA4D61D7F; Sun, 2 Aug 2015 23:22:52 +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 8028161CD3; Sun, 2 Aug 2015 23:22:45 +0000 (UTC) Received: from mail-qg0-f43.google.com (mail-qg0-f43.google.com [209.85.192.43]) by lists.linaro.org (Postfix) with ESMTPS id 8F2E161C82 for ; Sun, 2 Aug 2015 23:22:44 +0000 (UTC) Received: by qgeu79 with SMTP id u79so78815992qge.1 for ; Sun, 02 Aug 2015 16:22:44 -0700 (PDT) X-Received: by 10.140.102.6 with SMTP id v6mr8940619qge.6.1438557764384; Sun, 02 Aug 2015 16:22:44 -0700 (PDT) Received: from localhost.localdomain ([64.88.227.134]) by smtp.gmail.com with ESMTPSA id b126sm5444557qhc.46.2015.08.02.16.22.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 02 Aug 2015 16:22:43 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Sun, 2 Aug 2015 16:21:43 -0700 Message-Id: <1438557709-30355-3-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1438557709-30355-1-git-send-email-bill.fischofer@linaro.org> References: <1438557709-30355-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv4 2/8] 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.215.42 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;