From patchwork Thu Jul 30 10:53:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 51687 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id C955022E7D for ; Thu, 30 Jul 2015 10:54:45 +0000 (UTC) Received: by lbbnr7 with SMTP id nr7sf10602340lbb.2 for ; Thu, 30 Jul 2015 03:54:44 -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=SL3szFUxHB/DvXKUiRPemiNh7iM5zkCJMpv/bHB1WFvmEm/nDG+b6G44E0BevLAilF Mb43oVmxCMxON2MswgQdGHlOH0nA2XUERuFbu2JnOtj1+C++MEQ1pBPj9NN76uh+Ik9i +JFeSW7wPBN5+NfTESe62F01nbJ3y6+W/MWGTIakVmApjQ50lqAv05yoz+P7R+r/+4dB g4jqzynz8j1js+HoNr8/DEllXJHD+Mlh8qeRVRx6I3FnXWna8Tr5m/sm0CQAIe8havGB 44R0BpzEtbjwHUqN1rlf2os2kKkjfWytj6M1XsNMlbaFGv6hxBvpXHUYqJ50jOVcYQum pr2Q== X-Gm-Message-State: ALoCoQm/p1qb1nrYH2PDxw2OMuj4rfb+eRYx7dSXKzXWPJe1lb4CqG9vMSjMAXFf9MG9JWCma+ZO X-Received: by 10.112.42.236 with SMTP id r12mr17542267lbl.2.1438253684784; Thu, 30 Jul 2015 03:54:44 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.195 with SMTP id o3ls167652laf.1.gmail; Thu, 30 Jul 2015 03:54:44 -0700 (PDT) X-Received: by 10.152.36.102 with SMTP id p6mr43708911laj.19.1438253684452; Thu, 30 Jul 2015 03:54:44 -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 j8si544903lah.14.2015.07.30.03.54.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jul 2015 03:54:44 -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 yj8so24519640lbb.0 for ; Thu, 30 Jul 2015 03:54:44 -0700 (PDT) X-Received: by 10.112.120.134 with SMTP id lc6mr43826306lbb.86.1438253684097; Thu, 30 Jul 2015 03:54:44 -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 l6csp505053lba; Thu, 30 Jul 2015 03:54:43 -0700 (PDT) X-Received: by 10.55.24.219 with SMTP id 88mr70404307qky.54.1438253682804; Thu, 30 Jul 2015 03:54:42 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id k109si697767qgf.32.2015.07.30.03.54.42; Thu, 30 Jul 2015 03:54:42 -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 0EE2C61DC8; Thu, 30 Jul 2015 10:54:42 +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 6FFB761D27; Thu, 30 Jul 2015 10:54:07 +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 A59A261DB2; Thu, 30 Jul 2015 10:54:03 +0000 (UTC) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by lists.linaro.org (Postfix) with ESMTPS id 5B5166181A for ; Thu, 30 Jul 2015 10:53:35 +0000 (UTC) Received: by pdbnt7 with SMTP id nt7so22774313pdb.0 for ; Thu, 30 Jul 2015 03:53:34 -0700 (PDT) X-Received: by 10.70.37.207 with SMTP id a15mr105324059pdk.4.1438253614725; Thu, 30 Jul 2015 03:53:34 -0700 (PDT) Received: from localhost.localdomain (205.158.164.101.ptr.us.xo.net. [205.158.164.101]) by smtp.gmail.com with ESMTPSA id mk6sm1560817pab.9.2015.07.30.03.53.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Jul 2015 03:53:34 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Thu, 30 Jul 2015 03:53:22 -0700 Message-Id: <1438253605-24259-3-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1438253605-24259-1-git-send-email-bill.fischofer@linaro.org> References: <1438253605-24259-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv2 2/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.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 --- 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;