From patchwork Fri Jul 10 15:07:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 51042 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6041A2290A for ; Fri, 10 Jul 2015 15:09:37 +0000 (UTC) Received: by wizo10 with SMTP id o10sf5672710wiz.0 for ; Fri, 10 Jul 2015 08:09:36 -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=1ZMGRNEKhg8hMH5L0nY5ARHpBQujeogE/b19U1F71GI=; b=b8AHP0hM3XpR70M5VQ4ES9hI5WAxsPQ5WuPwzZ+3sB9TAU3Web+kpbo725c5AYIiYs 2EoJi5ZyKLSUyiCT19aXVZnOURIgUwgNkgXw35T1B089WB280FfheXRhoZ/ggyuNRYrf nVT6FYH3qSdzcG4iLlq+0I9ErIjn3svTq5Sd8qcp+zVbuavNn8OS1vhv2o2kjEoydP65 BMDCtuHTQmVGdXvy/tu7lZYzkK3edCeR5vxhrFKlKkQfsxV2qlJB2Rqe15ZhtUCHpdYX Y480lZBqlZJQFtAKH4Ba/yR87T4JCwsQ2IBHQ0bjCbzHAEH3z8RRPa9r2FD2dOacRqTe O0Ew== X-Gm-Message-State: ALoCoQkyRlrQkgvGg0QpF+MxQ9oCqjxu+UciVve780fblpE+un3dAeYVZdKkBYJeK5rGYafDl+D/ X-Received: by 10.152.120.69 with SMTP id la5mr11044600lab.7.1436540976670; Fri, 10 Jul 2015 08:09:36 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.30.6 with SMTP id o6ls1141314lah.56.gmail; Fri, 10 Jul 2015 08:09:36 -0700 (PDT) X-Received: by 10.152.5.197 with SMTP id u5mr18662772lau.76.1436540976515; Fri, 10 Jul 2015 08:09:36 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id p10si7571566lae.91.2015.07.10.08.09.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Jul 2015 08:09:36 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by lbbyj8 with SMTP id yj8so9386784lbb.0 for ; Fri, 10 Jul 2015 08:09:36 -0700 (PDT) X-Received: by 10.152.36.161 with SMTP id r1mr20277112laj.88.1436540976368; Fri, 10 Jul 2015 08:09:36 -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.108.230 with SMTP id hn6csp47136lbb; Fri, 10 Jul 2015 08:09:35 -0700 (PDT) X-Received: by 10.140.165.150 with SMTP id l144mr33896759qhl.99.1436540974275; Fri, 10 Jul 2015 08:09:34 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id h137si10862945qhc.38.2015.07.10.08.09.33; Fri, 10 Jul 2015 08:09:34 -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 80F0962018; Fri, 10 Jul 2015 15:09:33 +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 703BF6201A; Fri, 10 Jul 2015 15:08:40 +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 3BE2D6202D; Fri, 10 Jul 2015 15:08:37 +0000 (UTC) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by lists.linaro.org (Postfix) with ESMTPS id 04BA462006 for ; Fri, 10 Jul 2015 15:07:35 +0000 (UTC) Received: by obbkm3 with SMTP id km3so192799184obb.1 for ; Fri, 10 Jul 2015 08:07:34 -0700 (PDT) X-Received: by 10.202.219.195 with SMTP id s186mr3508467oig.25.1436540854576; Fri, 10 Jul 2015 08:07:34 -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 rg1sm4602028oeb.11.2015.07.10.08.07.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Jul 2015 08:07:34 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Fri, 10 Jul 2015 10:07:25 -0500 Message-Id: <1436540845-2890-4-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1436540845-2890-1-git-send-email-bill.fischofer@linaro.org> References: <1436540845-2890-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [prefix=API-NEXT PATCH 4/4] performance: use odp_queue_param_init routine 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.172 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/performance/odp_l2fwd.c | 1 + test/performance/odp_pktio_perf.c | 1 + test/performance/odp_scheduling.c | 1 + 3 files changed, 3 insertions(+) diff --git a/test/performance/odp_l2fwd.c b/test/performance/odp_l2fwd.c index 7394dfc..232107f 100644 --- a/test/performance/odp_l2fwd.c +++ b/test/performance/odp_l2fwd.c @@ -292,6 +292,7 @@ static odp_pktio_t create_pktio(const char *dev, odp_pool_t pool, if (mode == APPL_MODE_PKT_BURST) return pktio; + odp_queue_param_init(&qparam); qparam.sched.prio = ODP_SCHED_PRIO_DEFAULT; qparam.sched.sync = ODP_SCHED_SYNC_ATOMIC; qparam.sched.group = ODP_SCHED_GROUP_ALL; diff --git a/test/performance/odp_pktio_perf.c b/test/performance/odp_pktio_perf.c index 98511a5..7766346 100644 --- a/test/performance/odp_pktio_perf.c +++ b/test/performance/odp_pktio_perf.c @@ -745,6 +745,7 @@ static int test_init(void) } /* create and associate an input queue for the RX side */ + odp_queue_param_init(&qparam); qparam.sched.prio = ODP_SCHED_PRIO_DEFAULT; qparam.sched.sync = ODP_SCHED_SYNC_NONE; qparam.sched.group = ODP_SCHED_GROUP_ALL; diff --git a/test/performance/odp_scheduling.c b/test/performance/odp_scheduling.c index 8fa7734..ab0019b 100644 --- a/test/performance/odp_scheduling.c +++ b/test/performance/odp_scheduling.c @@ -954,6 +954,7 @@ int main(int argc, char *argv[]) name[6] = '0' + i/10; name[7] = '0' + i - 10*(i/10); + odp_queue_param_init(¶m); param.sched.prio = i; param.sched.sync = ODP_SCHED_SYNC_ATOMIC; param.sched.group = ODP_SCHED_GROUP_ALL;