From patchwork Sun Aug 9 13:13:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 52088 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 0F3492152A for ; Sun, 9 Aug 2015 13:18:05 +0000 (UTC) Received: by wicja10 with SMTP id ja10sf5906205wic.2 for ; Sun, 09 Aug 2015 06:18:04 -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=Y5O7/qddyHQhGQa+WMQOBzA0EzUWnE7vjone36zMY83paDln6+t+csESSUnKooK0WS HiRFoR7QFC8XavFBZJuqx8vapmy5z+OCWxI9d0a5Vn285b6SKGa47TSArHqbGKbw2nZH FtRBl+Y3kGWIKfHaOzUx8B66GkiSgWuq8wL/khF4bCpDODv469fPqlzynWIi7RH/hcqZ 0d19GyuSjVFlpvG/DGuuKTOtVBfk29qLkYNiPBZMe3Gai7J6EUlqvZ2rMcYP8UAwD3+8 6+LlhYN9wmldSJqcIxvT7AYKJQm7JHxiiSMqk5gxR8DylVbUUF6K7Sv1EsufH/hbUqPI joOQ== X-Gm-Message-State: ALoCoQkQmZ2tHJf0fkt5ko0tVUwujAlfpmE7aWJbMse4DVcKIXKL09L2/G/8Dqb82NT2OlWTBQ7M X-Received: by 10.180.79.66 with SMTP id h2mr2252017wix.3.1439126284304; Sun, 09 Aug 2015 06:18:04 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.162 with SMTP id z2ls93475laj.101.gmail; Sun, 09 Aug 2015 06:18:04 -0700 (PDT) X-Received: by 10.112.147.201 with SMTP id tm9mr16337440lbb.40.1439126284136; Sun, 09 Aug 2015 06:18:04 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id gf10si12046753lbc.82.2015.08.09.06.18.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Aug 2015 06:18:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by lahi9 with SMTP id i9so11640685lah.2 for ; Sun, 09 Aug 2015 06:18:03 -0700 (PDT) X-Received: by 10.152.36.161 with SMTP id r1mr16348309laj.88.1439126283705; Sun, 09 Aug 2015 06:18:03 -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 l6csp1424399lba; Sun, 9 Aug 2015 06:18:02 -0700 (PDT) X-Received: by 10.55.26.167 with SMTP id l39mr29496979qkh.14.1439126281991; Sun, 09 Aug 2015 06:18:01 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 2si12539615qgy.85.2015.08.09.06.18.00; Sun, 09 Aug 2015 06:18:01 -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 9B79A61F55; Sun, 9 Aug 2015 13:18:00 +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 02DE561F23; Sun, 9 Aug 2015 13:14:50 +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 64C78620A7; Sun, 9 Aug 2015 13:14:46 +0000 (UTC) Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) by lists.linaro.org (Postfix) with ESMTPS id A306161EF8 for ; Sun, 9 Aug 2015 13:14:06 +0000 (UTC) Received: by obbfr1 with SMTP id fr1so70562808obb.1 for ; Sun, 09 Aug 2015 06:14:06 -0700 (PDT) X-Received: by 10.60.145.134 with SMTP id su6mr15215095oeb.22.1439126046130; Sun, 09 Aug 2015 06:14:06 -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 i3sm5012321oig.24.2015.08.09.06.14.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 09 Aug 2015 06:14:05 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Sun, 9 Aug 2015 08:13:48 -0500 Message-Id: <1439126035-13656-7-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1439126035-13656-1-git-send-email-bill.fischofer@linaro.org> References: <1439126035-13656-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv12 06/13] 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.54 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;