From patchwork Tue Aug 4 22:41:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 51916 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by patches.linaro.org (Postfix) with ESMTPS id CE6B522E8E for ; Tue, 4 Aug 2015 22:46:05 +0000 (UTC) Received: by labth1 with SMTP id th1sf8826901lab.2 for ; Tue, 04 Aug 2015 15:46: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=lCW4zSITKXgMkqGzaVsm5DTN9Z0UpEUD+m5nqLBh0VWbEgC6KHjoV1M3gsJffrmVdu wfG2+xS4wTe3YsCRbzJ/pWhFwIAuAzRiyS0cFMZMffVEewTljlozticNaO6/mDx0OmsM F6n7q/nswJj4mUCJyDQOvLnZtDbnvizvGDCp5lR5uKMwVF9jrmPNjkJ7nIDyzBg+AQvJ ZQBo3Cu3MAqRILWHiaFU8V64PT/QhnG2MYs1M3SdsO5kTK1N1TEjYP3R5B0G0RXURNOm c7D6NoQ1bGYD9TxgfVDCIlGh7v4srN/mml3ug4F7CALNS41ClfXniXOc/gRDUphcge+b QX0g== X-Gm-Message-State: ALoCoQkZk0mrbwq3dYPLVqMOsxz8v5wePZOihec/Z+jrHFPcaw3yZNmJ+xk4DfP/APYzb7LCFExQ X-Received: by 10.112.87.69 with SMTP id v5mr1792292lbz.16.1438728364768; Tue, 04 Aug 2015 15:46:04 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.27.101 with SMTP id s5ls119191lag.108.gmail; Tue, 04 Aug 2015 15:46:04 -0700 (PDT) X-Received: by 10.112.209.35 with SMTP id mj3mr6743353lbc.77.1438728364622; Tue, 04 Aug 2015 15:46:04 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id m2si830040laj.125.2015.08.04.15.46.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Aug 2015 15:46:04 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by labow3 with SMTP id ow3so17203640lab.1 for ; Tue, 04 Aug 2015 15:46:04 -0700 (PDT) X-Received: by 10.152.22.99 with SMTP id c3mr6812932laf.32.1438728364189; Tue, 04 Aug 2015 15:46:04 -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 l6csp34370lba; Tue, 4 Aug 2015 15:46:03 -0700 (PDT) X-Received: by 10.50.73.170 with SMTP id m10mr2480730igv.60.1438728362878; Tue, 04 Aug 2015 15:46:02 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id ha9si2517869igb.60.2015.08.04.15.46.02; Tue, 04 Aug 2015 15:46:02 -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 E727C61FE8; Tue, 4 Aug 2015 22:46:01 +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 8499961F39; Tue, 4 Aug 2015 22:45:15 +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 BD01061DF6; Tue, 4 Aug 2015 22:42:49 +0000 (UTC) Received: from mail-oi0-f41.google.com (mail-oi0-f41.google.com [209.85.218.41]) by lists.linaro.org (Postfix) with ESMTPS id 52BBE61E32 for ; Tue, 4 Aug 2015 22:41:34 +0000 (UTC) Received: by oigu206 with SMTP id u206so188284oig.3 for ; Tue, 04 Aug 2015 15:41:33 -0700 (PDT) X-Received: by 10.202.195.200 with SMTP id t191mr5052975oif.117.1438728093836; Tue, 04 Aug 2015 15:41:33 -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 sx2sm519170obc.0.2015.08.04.15.41.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 04 Aug 2015 15:41:33 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Tue, 4 Aug 2015 17:41:14 -0500 Message-Id: <1438728085-3240-3-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1438728085-3240-1-git-send-email-bill.fischofer@linaro.org> References: <1438728085-3240-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv7 02/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.53 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;