From patchwork Wed Jul 29 01:56:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 51614 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by patches.linaro.org (Postfix) with ESMTPS id BA209214B7 for ; Wed, 29 Jul 2015 02:00:04 +0000 (UTC) Received: by lbbvz8 with SMTP id vz8sf43349983lbb.2 for ; Tue, 28 Jul 2015 19:00:03 -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=WM2BJWH2zHO2TZ2/eR9R59QKP4IGGs5TeByCfs/vHSz2gDp7HBqhbXMZL2/fYRZHmH 1H3kzC+wsDtN9aq+FaGQNKnENbneqFls66X9+S9Aw1wTfOdzbqdq/tnQyzdCZDjcCOfH jYZeHEI0/seUJ3HXRg9NAyxnPsZVG/bk3Bg+mOGByD6VLDEDN1deAK8GCFTieNRSQNg0 +9aFRr1/UWGdKn+oKoZ5FzYwGjbbE9gyy6tTrwCioCFcLTupJE4kbcpU4ikoIMwXPAjb gyR0l0IrW/pm9P0PKcg2Ilyp21JdlM0262n/dZfCxEKN2mqM3lSlmrKe34/w/sEFwRBs 7SHg== X-Gm-Message-State: ALoCoQnzcWr5GJE5s2Schun3QtZx9DPlJgX4t3kM4QHD+s+s5y9PL20RAGh1RrhoNOv5CvVvq/0T X-Received: by 10.112.28.111 with SMTP id a15mr14971371lbh.21.1438135203709; Tue, 28 Jul 2015 19:00:03 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.231 with SMTP id e7ls807007laa.34.gmail; Tue, 28 Jul 2015 19:00:03 -0700 (PDT) X-Received: by 10.152.116.75 with SMTP id ju11mr36163101lab.62.1438135203367; Tue, 28 Jul 2015 19:00:03 -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 kx4si18108031lbb.6.2015.07.28.19.00.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jul 2015 19:00:02 -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 lbbqi7 with SMTP id qi7so86258059lbb.3 for ; Tue, 28 Jul 2015 19:00:02 -0700 (PDT) X-Received: by 10.152.22.99 with SMTP id c3mr36980464laf.32.1438135202696; Tue, 28 Jul 2015 19:00:02 -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 l6csp2461919lba; Tue, 28 Jul 2015 19:00:01 -0700 (PDT) X-Received: by 10.140.102.84 with SMTP id v78mr9242601qge.81.1438135201087; Tue, 28 Jul 2015 19:00:01 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id r10si28558255qkh.34.2015.07.28.19.00.00; Tue, 28 Jul 2015 19:00: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 58FB661F1E; Wed, 29 Jul 2015 02:00: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_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 4F78A61F5D; Wed, 29 Jul 2015 01:57:25 +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 80E1561F45; Wed, 29 Jul 2015 01:57:09 +0000 (UTC) Received: from mail-oi0-f48.google.com (mail-oi0-f48.google.com [209.85.218.48]) by lists.linaro.org (Postfix) with ESMTPS id 2E33861F41 for ; Wed, 29 Jul 2015 01:57:08 +0000 (UTC) Received: by oibn4 with SMTP id n4so79213193oib.3 for ; Tue, 28 Jul 2015 18:57:07 -0700 (PDT) X-Received: by 10.202.182.65 with SMTP id g62mr35974283oif.85.1438135027791; Tue, 28 Jul 2015 18:57:07 -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 n2sm13555547oia.29.2015.07.28.18.57.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Jul 2015 18:57:07 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Tue, 28 Jul 2015 20:56:55 -0500 Message-Id: <1438135016-22225-5-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1438135016-22225-1-git-send-email-bill.fischofer@linaro.org> References: <1438135016-22225-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCH 4/5] 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;